Returns a string identifying the Python implementation branch. For CPython this is the SCM branch from which the Python binary was built. If not available, an empty string is returned.
()
| 1138 | return tuple(_sys_version()[1].split('.')) |
| 1139 | |
| 1140 | def python_branch(): |
| 1141 | |
| 1142 | """ Returns a string identifying the Python implementation |
| 1143 | branch. |
| 1144 | |
| 1145 | For CPython this is the SCM branch from which the |
| 1146 | Python binary was built. |
| 1147 | |
| 1148 | If not available, an empty string is returned. |
| 1149 | |
| 1150 | """ |
| 1151 | |
| 1152 | return _sys_version()[2] |
| 1153 | |
| 1154 | def python_revision(): |
| 1155 |
nothing calls this directly
no test coverage detected