gh-122555: Remove removed functions from `Doc/data/refcounts.dat` (#122556)

This commit is contained in:
Bénédikt Tran 2024-08-01 12:26:09 +02:00 committed by GitHub
parent 58ffc4cf4a
commit 88030861e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 11 deletions

View File

@ -364,8 +364,6 @@ PyComplex_RealAsDouble:PyObject*:op:0:
PyContext_CheckExact:int::: PyContext_CheckExact:int:::
PyContext_CheckExact:PyObject*:o:0: PyContext_CheckExact:PyObject*:o:0:
PyContext_ClearFreeList:int:::
PyContext_Copy:PyObject*::+1: PyContext_Copy:PyObject*::+1:
PyContext_Copy:PyObject*:ctx:0: PyContext_Copy:PyObject*:ctx:0:
@ -1030,8 +1028,6 @@ PyImport_AddModule:const char*:name::
PyImport_AddModuleObject:PyObject*::0:reference borrowed from sys.modules PyImport_AddModuleObject:PyObject*::0:reference borrowed from sys.modules
PyImport_AddModuleObject:PyObject*:name:0: PyImport_AddModuleObject:PyObject*:name:0:
PyImport_Cleanup:void:::
PyImport_ExecCodeModule:PyObject*::+1: PyImport_ExecCodeModule:PyObject*::+1:
PyImport_ExecCodeModule:const char*:name:: PyImport_ExecCodeModule:const char*:name::
PyImport_ExecCodeModule:PyObject*:co:0: PyImport_ExecCodeModule:PyObject*:co:0:
@ -2405,12 +2401,6 @@ PyUnicode_DATA:PyObject*:o:0:
PyUnicode_GET_LENGTH:Py_ssize_t::: PyUnicode_GET_LENGTH:Py_ssize_t:::
PyUnicode_GET_LENGTH:PyObject*:o:0: PyUnicode_GET_LENGTH:PyObject*:o:0:
PyUnicode_GET_SIZE:Py_ssize_t:::
PyUnicode_GET_SIZE:PyObject*:o:0:
PyUnicode_GET_DATA_SIZE:Py_ssize_t:::
PyUnicode_GET_DATA_SIZE:PyObject*:o:0:
PyUnicode_KIND:int::: PyUnicode_KIND:int:::
PyUnicode_KIND:PyObject*:o:0: PyUnicode_KIND:PyObject*:o:0:

View File

@ -1241,7 +1241,6 @@ def _find_spec(name, path, target=None):
"""Find a module's spec.""" """Find a module's spec."""
meta_path = sys.meta_path meta_path = sys.meta_path
if meta_path is None: if meta_path is None:
# PyImport_Cleanup() is running or has been called.
raise ImportError("sys.meta_path is None, Python is likely " raise ImportError("sys.meta_path is None, Python is likely "
"shutting down") "shutting down")