mirror of
https://github.com/licsber/micropython.git
synced 2024-09-20 09:00:23 +08:00
02d95d7ce9
Addresses issue #838.
6 lines
123 B
Python
6 lines
123 B
Python
# test short circuit expressions outside if conditionals
|
|
print(() or 1)
|
|
print((1,) or 1)
|
|
print(() and 1)
|
|
print((1,) and 1)
|