Returns the Python version as tuple (major, minor, patchlevel) of strings. Note that unlike the Python sys.version, the returned value will always include the patchlevel (it defaults to 0).
()
| 1200 | return _sys_version()[1] |
| 1201 | |
| 1202 | def python_version_tuple(): |
| 1203 | |
| 1204 | """ Returns the Python version as tuple (major, minor, patchlevel) |
| 1205 | of strings. |
| 1206 | |
| 1207 | Note that unlike the Python sys.version, the returned value |
| 1208 | will always include the patchlevel (it defaults to 0). |
| 1209 | |
| 1210 | """ |
| 1211 | return tuple(_sys_version()[1].split('.')) |
| 1212 | |
| 1213 | def python_branch(): |
| 1214 |
nothing calls this directly
no test coverage detected
searching dependent graphs…