mirror of
https://github.com/micropython/micropython.git
synced 2025-09-07 18:30:27 +02: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")
|
|
|