Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 6735:e8607971d3d1
re-enable other python versions.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 27 Jun 2022 17:34:42 -0400 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
