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.
()
| 1211 | return tuple(_sys_version()[1].split('.')) |
| 1212 | |
| 1213 | def python_branch(): |
| 1214 | |
| 1215 | """ Returns a string identifying the Python implementation |
| 1216 | branch. |
| 1217 | |
| 1218 | For CPython this is the SCM branch from which the |
| 1219 | Python binary was built. |
| 1220 | |
| 1221 | If not available, an empty string is returned. |
| 1222 | |
| 1223 | """ |
| 1224 | |
| 1225 | return _sys_version()[2] |
| 1226 | |
| 1227 | def python_revision(): |
| 1228 |
nothing calls this directly
no test coverage detected
searching dependent graphs…