mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 19:20:22 +01:00
py: Add sys.implementation, containing uPy name and version number.
Uses attrtuple if it's enabled, otherwise just a normal tuple.
This commit is contained in:
@@ -450,6 +450,10 @@ Q(stdout)
|
||||
Q(stderr)
|
||||
Q(version)
|
||||
Q(version_info)
|
||||
#if MICROPY_PY_ATTRTUPLE
|
||||
Q(name)
|
||||
#endif
|
||||
Q(implementation)
|
||||
#if MICROPY_PY_SYS_MAXSIZE
|
||||
Q(maxsize)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user