mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-19 05:40:38 +01:00
[mpy] Added sys module
Removed useless "path" and "argv"
This commit is contained in:
@@ -723,3 +723,12 @@ Q(from_uint16_buffer)
|
||||
Q(from_int32_buffer)
|
||||
Q(from_uint32_buffer)
|
||||
#endif
|
||||
// sys QSTRs
|
||||
Q(sys)
|
||||
Q(info)
|
||||
Q(implementation)
|
||||
Q(byteorder)
|
||||
Q(exit)
|
||||
Q(modules)
|
||||
Q(print_exception)
|
||||
Q(version_info)
|
||||
|
||||
@@ -97,7 +97,7 @@
|
||||
#define MICROPY_PY_STRUCT (0)
|
||||
|
||||
// Whether to provide "sys" module
|
||||
#define MICROPY_PY_SYS (0)
|
||||
#define MICROPY_PY_SYS (1)
|
||||
|
||||
// Whether to provide the "urandom" module
|
||||
#define MICROPY_PY_URANDOM (1)
|
||||
|
||||
Reference in New Issue
Block a user