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.
()
| 1268 | return tuple(_sys_version()[1].split('.')) |
| 1269 | |
| 1270 | def python_branch(): |
| 1271 | |
| 1272 | """ Returns a string identifying the Python implementation |
| 1273 | branch. |
| 1274 | |
| 1275 | For CPython this is the SCM branch from which the |
| 1276 | Python binary was built. |
| 1277 | |
| 1278 | If not available, an empty string is returned. |
| 1279 | |
| 1280 | """ |
| 1281 | |
| 1282 | return _sys_version()[2] |
| 1283 | |
| 1284 | def python_revision(): |
| 1285 |
nothing calls this directly
no test coverage detected