mirror of
https://github.com/micropython/micropython.git
synced 2025-12-16 09:50:15 +01:00
10 lines
132 B
Python
10 lines
132 B
Python
# test builtin ord (whether or not we support unicode)
|
|
|
|
print(ord('a'))
|
|
|
|
try:
|
|
ord('')
|
|
except TypeError:
|
|
print("TypeError")
|
|
|