You've already forked Core2forAWS-MicroPython
mirror of
https://github.com/m5stack/Core2forAWS-MicroPython.git
synced 2026-05-20 10:30:31 -07:00
539681fffd
From now on, all new tests must use underscore. Addresses issue #727.
19 lines
231 B
Python
19 lines
231 B
Python
# del global
|
|
|
|
x = 1
|
|
print(x)
|
|
del x
|
|
try:
|
|
print(x)
|
|
except NameError:
|
|
print("NameError")
|
|
try:
|
|
del x
|
|
except: # NameError:
|
|
# FIXME uPy returns KeyError for this
|
|
print("NameError")
|
|
|
|
class C:
|
|
def f():
|
|
pass
|