MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / python_revision

Function python_revision

tools/python-3.11.9-amd64/Lib/platform.py:1154–1165  ·  view source on GitHub ↗

Returns a string identifying the Python implementation revision. For CPython this is the SCM revision from which the Python binary was built. If not available, an empty string is returned.

()

Source from the content-addressed store, hash-verified

1152 return _sys_version()[2]
1153
1154def python_revision():
1155
1156 """ Returns a string identifying the Python implementation
1157 revision.
1158
1159 For CPython this is the SCM revision from which the
1160 Python binary was built.
1161
1162 If not available, an empty string is returned.
1163
1164 """
1165 return _sys_version()[3]
1166
1167def python_build():
1168

Callers

nothing calls this directly

Calls 1

_sys_versionFunction · 0.85

Tested by

no test coverage detected