File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -977,7 +977,6 @@ sys_exit_impl(PyObject *module, PyObject *status)
977977// This function is used to warn about the future change of sys.abiflags
978978// from absent to a meaningful value on all platforms.
979979// It can be removed when the change is made.
980- #ifndef ABIFLAGS
981980static PyObject *
982981sys___getattr__ (PyObject * module , PyObject * name )
983982{
@@ -998,7 +997,6 @@ PyDoc_STRVAR(__getattr___doc,
998997"\n"
999998"Get a sys attribute by name.\n"
1000999);
1001- #endif
10021000
10031001
10041002static PyObject *
@@ -2731,10 +2729,8 @@ static PyMethodDef sys_methods[] = {
27312729 SYS_EXC_INFO_METHODDEF
27322730 SYS_EXCEPTHOOK_METHODDEF
27332731 SYS_EXIT_METHODDEF
2734- #ifndef ABIFLAGS
27352732 {"__getattr__ ", _PyCFunction_CAST (sys___getattr__ ),
27362733 METH_O , __getattr___doc },
2737- #endif
27382734 SYS_GETDEFAULTENCODING_METHODDEF
27392735 SYS_GETDLOPENFLAGS_METHODDEF
27402736 SYS_GETALLOCATEDBLOCKS_METHODDEF
You can’t perform that action at this time.
0 commit comments