mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Rename _Py_identifier to _Py_IDENTIFIER.
This commit is contained in:
parent
01277d166a
commit
bd928fef42
57 changed files with 262 additions and 262 deletions
|
@ -18,7 +18,7 @@ static long max_fd;
|
|||
static int _enable_gc(PyObject *gc_module)
|
||||
{
|
||||
PyObject *result;
|
||||
_Py_identifier(enable);
|
||||
_Py_IDENTIFIER(enable);
|
||||
|
||||
result = _PyObject_CallMethodId(gc_module, &PyId_enable, NULL);
|
||||
if (result == NULL)
|
||||
|
@ -251,8 +251,8 @@ subprocess_fork_exec(PyObject* self, PyObject *args)
|
|||
/* We need to call gc.disable() when we'll be calling preexec_fn */
|
||||
if (preexec_fn != Py_None) {
|
||||
PyObject *result;
|
||||
_Py_identifier(isenabled);
|
||||
_Py_identifier(disable);
|
||||
_Py_IDENTIFIER(isenabled);
|
||||
_Py_IDENTIFIER(disable);
|
||||
|
||||
gc_module = PyImport_ImportModule("gc");
|
||||
if (gc_module == NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue