Mercurial > cpython-lru_cache-weakref
diff Python/sysmodule.c @ 46472:fb8d3e1f6161 legacy-trunk
Fix indentation in sysmodule.c
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Fri, 18 Apr 2008 20:45:33 +0000 |
| parents | 39ea2fc4503d |
| children | aef3501d8e77 |
line wrap: on
line diff
--- a/Python/sysmodule.c Fri Apr 18 20:35:46 2008 +0000 +++ b/Python/sysmodule.c Fri Apr 18 20:45:33 2008 +0000 @@ -1299,9 +1299,9 @@ PyDict_SetItemString(sysdict, "__stdout__", sysout); PyDict_SetItemString(sysdict, "__stderr__", syserr); PyDict_SetItemString(sysdict, "__displayhook__", - PyDict_GetItemString(sysdict, "displayhook")); + PyDict_GetItemString(sysdict, "displayhook")); PyDict_SetItemString(sysdict, "__excepthook__", - PyDict_GetItemString(sysdict, "excepthook")); + PyDict_GetItemString(sysdict, "excepthook")); Py_XDECREF(sysin); Py_XDECREF(sysout); Py_XDECREF(syserr); @@ -1312,10 +1312,10 @@ PyInt_FromLong(PY_VERSION_HEX)); svnversion_init(); SET_SYS_FROM_STRING("subversion", - Py_BuildValue("(ssz)", "CPython", branch, + Py_BuildValue("(ssz)", "CPython", branch, svn_revision)); SET_SYS_FROM_STRING("dont_write_bytecode", - PyBool_FromLong(Py_DontWriteBytecodeFlag)); + PyBool_FromLong(Py_DontWriteBytecodeFlag)); /* * These release level checks are mutually exclusive and cover * the field, so don't get too fancy with the pre-processor!
