mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
Issue #3527: Removed Py_WIN_WIDE_FILENAMES which is not used any more.
This commit is contained in:
parent
0c3b4c6e70
commit
b24bb27d22
6 changed files with 32 additions and 52 deletions
|
@ -2254,7 +2254,7 @@ file_init(PyObject *self, PyObject *args, PyObject *kwds)
|
|||
Py_DECREF(closeresult);
|
||||
}
|
||||
|
||||
#ifdef Py_WIN_WIDE_FILENAMES
|
||||
#ifdef MS_WINDOWS
|
||||
if (GetVersion() < 0x80000000) { /* On NT, so wide API available */
|
||||
PyObject *po;
|
||||
if (PyArg_ParseTupleAndKeywords(args, kwds, "U|si:file",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue