2015-04-04 21:05:30 +00:00
|
|
|
# uPy behaviour only: builtin modules are read-only
|
2022-08-18 06:57:45 +00:00
|
|
|
import sys
|
2015-04-04 21:05:30 +00:00
|
|
|
try:
|
2022-08-18 06:57:45 +00:00
|
|
|
sys.x = 1
|
2015-04-04 21:05:30 +00:00
|
|
|
except AttributeError:
|
|
|
|
print("AttributeError")
|