Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 7820:da4c51effdfd
chore(lint): fix imports, normalize trailing , on list/tuple
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 20 Mar 2024 17:18:52 -0400 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
