commit | efb00c0cc189c1fdee329e8b7fdd07b3fd4a54cf | [log] [tgz] |
---|---|---|
author | Brett Cannon <brett@python.org> | Wed Feb 29 18:31:31 2012 -0500 |
committer | Brett Cannon <brett@python.org> | Wed Feb 29 18:31:31 2012 -0500 |
tree | 22dc683979e0dd42d049416797b756a5c6a053cd | |
parent | 54c32032aa28bdfead50714bf7861c98a9843597 [diff] |
Issue #14153 Create _Py_device_encoding() to prevent _io from having to import the os module.
diff --git a/Include/fileutils.h b/Include/fileutils.h index 2fade9b..7c18cf2 100644 --- a/Include/fileutils.h +++ b/Include/fileutils.h
@@ -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);