mirror of https://github.com/python/cpython
gh-122555: Remove removed functions from `Doc/data/refcounts.dat` (#122556)
This commit is contained in:
parent
58ffc4cf4a
commit
88030861e2
|
@ -364,8 +364,6 @@ PyComplex_RealAsDouble:PyObject*:op:0:
|
|||
PyContext_CheckExact:int:::
|
||||
PyContext_CheckExact:PyObject*:o:0:
|
||||
|
||||
PyContext_ClearFreeList:int:::
|
||||
|
||||
PyContext_Copy:PyObject*::+1:
|
||||
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*:name:0:
|
||||
|
||||
PyImport_Cleanup:void:::
|
||||
|
||||
PyImport_ExecCodeModule:PyObject*::+1:
|
||||
PyImport_ExecCodeModule:const char*:name::
|
||||
PyImport_ExecCodeModule:PyObject*:co:0:
|
||||
|
@ -2405,12 +2401,6 @@ PyUnicode_DATA:PyObject*:o:0:
|
|||
PyUnicode_GET_LENGTH:Py_ssize_t:::
|
||||
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:PyObject*:o:0:
|
||||
|
||||
|
|
|
@ -1241,7 +1241,6 @@ def _find_spec(name, path, target=None):
|
|||
"""Find a module's spec."""
|
||||
meta_path = sys.meta_path
|
||||
if meta_path is None:
|
||||
# PyImport_Cleanup() is running or has been called.
|
||||
raise ImportError("sys.meta_path is None, Python is likely "
|
||||
"shutting down")
|
||||
|
||||
|
|
Loading…
Reference in New Issue