summaryrefslogtreecommitdiff
path: root/Include/internal/pycore_getopt.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-03-05 02:44:12 +0100
committerGitHub <noreply@github.com>2019-03-05 02:44:12 +0100
commit6dcb54228e7520abd058897440c26e323f62afcd (patch)
tree44c513ae0de0ecbf63609bb3b61bbc41806ce156 /Include/internal/pycore_getopt.h
parentcad1f747da47849ab5d8b0b881f7a0b94564d290 (diff)
downloadcpython-git-6dcb54228e7520abd058897440c26e323f62afcd.tar.gz
bpo-36142: Add _PyPreConfig_ReadFromArgv() (GH-12173)
The new function is now responsible to parse -E and -I command line arguments.
Diffstat (limited to 'Include/internal/pycore_getopt.h')
-rw-r--r--Include/internal/pycore_getopt.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Include/internal/pycore_getopt.h b/Include/internal/pycore_getopt.h
index e6f4654a66..1d30f5bb99 100644
--- a/Include/internal/pycore_getopt.h
+++ b/Include/internal/pycore_getopt.h
@@ -17,7 +17,6 @@ typedef struct {
int val;
} _PyOS_LongOption;
-extern int _PyOS_GetOpt(int argc, wchar_t **argv, wchar_t *optstring,
- const _PyOS_LongOption *longopts, int *longindex);
+extern int _PyOS_GetOpt(int argc, wchar_t **argv, int *longindex);
#endif /* !Py_INTERNAL_PYGETOPT_H */