mirror of
https://github.com/python/cpython.git
synced 2026-05-07 13:10:37 -04:00
2a38a86c1c
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.