Mercurial > cpython-lru_cache-weakref
diff Python/sysmodule.c @ 62155:600c23127207
Issue #8848: U / U# formats of Py_BuildValue() are just alias to s / s#
| author | Victor Stinner <victor.stinner@haypocalc.com> |
|---|---|
| date | Mon, 07 Jun 2010 19:57:46 +0000 |
| parents | 0bc8ffe6ba9a |
| children | d281ed59ff0b |
line wrap: on
line diff
--- a/Python/sysmodule.c Mon Jun 07 18:47:09 2010 +0000 +++ b/Python/sysmodule.c Mon Jun 07 19:57:46 2010 +0000 @@ -1510,7 +1510,7 @@ PyLong_FromLong(PY_VERSION_HEX)); svnversion_init(); SET_SYS_FROM_STRING("subversion", - Py_BuildValue("(UUU)", "CPython", branch, + Py_BuildValue("(sss)", "CPython", branch, svn_revision)); SET_SYS_FROM_STRING("dont_write_bytecode", PyBool_FromLong(Py_DontWriteBytecodeFlag));
