Issue #14153 Create _Py_device_encoding() to prevent _io from having to import

the os module.
This commit is contained in:
Brett Cannon 2012-02-29 18:31:31 -05:00
parent 54c32032aa
commit efb00c0cc1
7 changed files with 70 additions and 45 deletions

View file

@ -5,6 +5,8 @@
extern "C" {
#endif
PyAPI_FUNC(PyObject *) _Py_device_encoding(int);
PyAPI_FUNC(wchar_t *) _Py_char2wchar(
const char *arg,
size_t *size);