Staging
v0.8.1
https://github.com/python/cpython
Revision eb24988962728b3edbd346ced938c4120e7e2eed authored by Serhiy Storchaka on 15 August 2016, 06:46:07 UTC, committed by Serhiy Storchaka on 15 August 2016, 06:46:07 UTC
and iterables.  Speed up to 3 times for short objects.  Original patch by
Naoki Inada.
1 parent d003423
Raw File
Tip revision: eb24988962728b3edbd346ced938c4120e7e2eed authored by Serhiy Storchaka on 15 August 2016, 06:46:07 UTC
Issue #27704: Optimized creating bytes and bytearray from byte-like objects
Tip revision: eb24988
pygetopt.h

#ifndef Py_PYGETOPT_H
#define Py_PYGETOPT_H
#ifdef __cplusplus
extern "C" {
#endif

#ifndef Py_LIMITED_API
PyAPI_DATA(int) _PyOS_opterr;
PyAPI_DATA(int) _PyOS_optind;
PyAPI_DATA(wchar_t *) _PyOS_optarg;

PyAPI_FUNC(void) _PyOS_ResetGetOpt(void);
#endif

PyAPI_FUNC(int) _PyOS_GetOpt(int argc, wchar_t **argv, wchar_t *optstring);

#ifdef __cplusplus
}
#endif
#endif /* !Py_PYGETOPT_H */
back to top