Skip to content

Commit 9434659

Browse files
Clean up.
1 parent cf75fc3 commit 9434659

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

Python/errors.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
#include "pycore_pyerrors.h" // _PyErr_Format()
99
#include "pycore_pystate.h" // _PyThreadState_GET()
1010
#include "pycore_structseq.h" // _PyStructSequence_FiniBuiltin()
11-
#include "pycore_sysmodule.h" // _PySys_GetAttr()
1211
#include "pycore_traceback.h" // _PyTraceBack_FromFrame()
1312

1413
#ifdef MS_WINDOWS

Python/pylifecycle.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#include "pycore_runtime_init.h" // _PyRuntimeState_INIT
2828
#include "pycore_setobject.h" // _PySet_NextEntry()
2929
#include "pycore_sliceobject.h" // _PySlice_Fini()
30-
#include "pycore_sysmodule.h" // _PySys_GetAttr()
30+
#include "pycore_sysmodule.h" // _PySys_ClearAttrString()
3131
#include "pycore_traceback.h" // _Py_DumpTracebackThreads()
3232
#include "pycore_uniqueid.h" // _PyObject_FinalizeUniqueIdPool()
3333
#include "pycore_typeobject.h" // _PyTypes_InitTypes()

Python/pythonrun.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#include "pycore_pylifecycle.h" // _Py_FdIsInteractive()
2424
#include "pycore_pystate.h" // _PyInterpreterState_GET()
2525
#include "pycore_pythonrun.h" // export _PyRun_InteractiveLoopObject()
26-
#include "pycore_sysmodule.h" // _PySys_GetAttr()
26+
#include "pycore_sysmodule.h" // _PySys_SetAttr()
2727
#include "pycore_traceback.h" // _PyTraceBack_Print()
2828

2929
#include "errcode.h" // E_EOF

0 commit comments

Comments
 (0)