Returns a string identifying the Python implementation. Currently, the following implementations are identified: 'CPython' (C implementation of Python), 'Jython' (Java implementation of Python), 'PyPy' (Python implementation of Python).
()
| 1178 | return result |
| 1179 | |
| 1180 | def python_implementation(): |
| 1181 | |
| 1182 | """ Returns a string identifying the Python implementation. |
| 1183 | |
| 1184 | Currently, the following implementations are identified: |
| 1185 | 'CPython' (C implementation of Python), |
| 1186 | 'Jython' (Java implementation of Python), |
| 1187 | 'PyPy' (Python implementation of Python). |
| 1188 | |
| 1189 | """ |
| 1190 | return _sys_version()[0] |
| 1191 | |
| 1192 | def python_version(): |
| 1193 |
searching dependent graphs…