MCPcopy Index your code
hub / github.com/RustPython/RustPython / python_implementation

Function python_implementation

Lib/platform.py:1237–1247  ·  view source on GitHub ↗

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).

()

Source from the content-addressed store, hash-verified

1235 return result
1236
1237def python_implementation():
1238
1239 """ Returns a string identifying the Python implementation.
1240
1241 Currently, the following implementations are identified:
1242 'CPython' (C implementation of Python),
1243 'Jython' (Java implementation of Python),
1244 'PyPy' (Python implementation of Python).
1245
1246 """
1247 return _sys_version()[0]
1248
1249def python_version():
1250

Callers 3

simple_server.pyFile · 0.90
check_helloMethod · 0.90
test_bytes_validationMethod · 0.90

Calls 1

_sys_versionFunction · 0.85

Tested by 2

check_helloMethod · 0.72
test_bytes_validationMethod · 0.72