summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2005-12-18 01:27:35 +0000
committerBarry Warsaw <barry@python.org>2005-12-18 01:27:35 +0000
commitc9d59b04c98877eb8723373415248968c495f298 (patch)
tree804fa50ba73c445ea07f19a57b9adf9eeb1d2dda /Python/pythonrun.c
parent84256ed5b7262df9602e81be24f1f49ca1b448ec (diff)
downloadcpython-c9d59b04c98877eb8723373415248968c495f298.tar.gz
Expose Subversion revision number (calculated via "svnversion .") to Python.
Add C API function Py_GetBuildNumber(), add it to the interactive prompt banner (i.e. Py_GetBuildInfo()), and add it as the sys.build_number attribute. The build number is a string instead of an int because it may contain a trailing 'M' if there are local modifications.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions