Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 6552:e1146767b42e
merge in 15ae655c2014
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 11 Dec 2021 17:45:50 -0500 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
