diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-11-07 23:07:29 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-11-07 23:07:29 +0100 |
commit | bd303c165bc914fc943026ece55f4ebd225614c9 (patch) | |
tree | 030e6e557eff5ec98fef23e359498824f21afe4a /Include/object.h | |
parent | 07e9e380f93e334f8f11d3ff9f42bf7c68b27d3a (diff) | |
download | cpython-git-bd303c165bc914fc943026ece55f4ebd225614c9.tar.gz |
Issue #19512, #19515: remove shared identifiers, move identifiers where they
are used.
Move also _Py_IDENTIFIER() defintions to the top in modified files to remove
identifiers duplicated in the same file.
Diffstat (limited to 'Include/object.h')
-rw-r--r-- | Include/object.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Include/object.h b/Include/object.h index 27f48a5ba9..a6130fe2b8 100644 --- a/Include/object.h +++ b/Include/object.h @@ -147,14 +147,6 @@ typedef struct _Py_Identifier { #define _Py_static_string(varname, value) static _Py_Identifier varname = _Py_static_string_init(value) #define _Py_IDENTIFIER(varname) _Py_static_string(PyId_##varname, #varname) -/* Common identifiers (ex: _PyId_path is the string "path") */ -PyAPI_DATA(_Py_Identifier) _PyId_argv; -PyAPI_DATA(_Py_Identifier) _PyId_builtins; -PyAPI_DATA(_Py_Identifier) _PyId_path; -PyAPI_DATA(_Py_Identifier) _PyId_stdin; -PyAPI_DATA(_Py_Identifier) _PyId_stdout; -PyAPI_DATA(_Py_Identifier) _PyId_stderr; - /* Type objects contain a string containing the type name (to help somewhat in debugging), the allocation parameters (see PyObject_New() and |