mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
are used. Move also _Py_IDENTIFIER() defintions to the top in modified files to remove identifiers duplicated in the same file.
This commit is contained in:
parent
07e9e380f9
commit
bd303c165b
17 changed files with 93 additions and 89 deletions
|
|
@ -2578,7 +2578,7 @@ PyCurses_setupterm(PyObject* self, PyObject *args, PyObject* keywds)
|
|||
if (fd == -1) {
|
||||
PyObject* sys_stdout;
|
||||
|
||||
sys_stdout = _PySys_GetObjectId(&_PyId_stdout);
|
||||
sys_stdout = PySys_GetObject("stdout");
|
||||
|
||||
if (sys_stdout == NULL || sys_stdout == Py_None) {
|
||||
PyErr_SetString(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue