Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 5955:5dca9925e8a6
Added tag 2.0.0alpha0 for changeset d7ff9cb70f34
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 23 Oct 2019 14:33:53 -0400 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
