mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
gh-110721: Remove unused code from suggestions.c after moving PyErr_Display to use the traceback module (#113712)
This commit is contained in:
parent
802d4954f1
commit
a03ec20bcd
12 changed files with 117 additions and 225 deletions
|
|
@ -1164,7 +1164,6 @@ _PyStaticObjects_CheckRefcnt(PyInterpreterState *interp) {
|
|||
_PyStaticObject_CheckRefcnt((PyObject *)&_Py_ID(seek));
|
||||
_PyStaticObject_CheckRefcnt((PyObject *)&_Py_ID(seekable));
|
||||
_PyStaticObject_CheckRefcnt((PyObject *)&_Py_ID(selectors));
|
||||
_PyStaticObject_CheckRefcnt((PyObject *)&_Py_ID(self));
|
||||
_PyStaticObject_CheckRefcnt((PyObject *)&_Py_ID(send));
|
||||
_PyStaticObject_CheckRefcnt((PyObject *)&_Py_ID(sep));
|
||||
_PyStaticObject_CheckRefcnt((PyObject *)&_Py_ID(sequence));
|
||||
|
|
|
|||
|
|
@ -653,7 +653,6 @@ struct _Py_global_strings {
|
|||
STRUCT_FOR_ID(seek)
|
||||
STRUCT_FOR_ID(seekable)
|
||||
STRUCT_FOR_ID(selectors)
|
||||
STRUCT_FOR_ID(self)
|
||||
STRUCT_FOR_ID(send)
|
||||
STRUCT_FOR_ID(sep)
|
||||
STRUCT_FOR_ID(sequence)
|
||||
|
|
|
|||
1
Include/internal/pycore_runtime_init_generated.h
generated
1
Include/internal/pycore_runtime_init_generated.h
generated
|
|
@ -1162,7 +1162,6 @@ extern "C" {
|
|||
INIT_ID(seek), \
|
||||
INIT_ID(seekable), \
|
||||
INIT_ID(selectors), \
|
||||
INIT_ID(self), \
|
||||
INIT_ID(send), \
|
||||
INIT_ID(sep), \
|
||||
INIT_ID(sequence), \
|
||||
|
|
|
|||
|
|
@ -1800,9 +1800,6 @@ _PyUnicode_InitStaticStrings(PyInterpreterState *interp) {
|
|||
string = &_Py_ID(selectors);
|
||||
assert(_PyUnicode_CheckConsistency(string, 1));
|
||||
_PyUnicode_InternInPlace(interp, &string);
|
||||
string = &_Py_ID(self);
|
||||
assert(_PyUnicode_CheckConsistency(string, 1));
|
||||
_PyUnicode_InternInPlace(interp, &string);
|
||||
string = &_Py_ID(send);
|
||||
assert(_PyUnicode_CheckConsistency(string, 1));
|
||||
_PyUnicode_InternInPlace(interp, &string);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue