mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
gh-117953: Small Cleanup of Extensions-Related Machinery Code (gh-118167)
This is a collection of very basic cleanups I've pulled out of gh-118116. It is mostly renaming variables and moving a couple bits of code in functionally equivalent ways.
This commit is contained in:
parent
d0b664ee06
commit
23950beff8
3 changed files with 106 additions and 76 deletions
|
|
@ -22,6 +22,7 @@ extern int _PyImport_SetModuleString(const char *name, PyObject* module);
|
|||
extern void _PyImport_AcquireLock(PyInterpreterState *interp);
|
||||
extern int _PyImport_ReleaseLock(PyInterpreterState *interp);
|
||||
|
||||
// This is used exclusively for the sys and builtins modules:
|
||||
extern int _PyImport_FixupBuiltin(
|
||||
PyObject *mod,
|
||||
const char *name, /* UTF-8 encoded string */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue