Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 6273:d0a75dc269e5
fix nightly build. Assume it's python 3 for now.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Fri, 16 Oct 2020 18:50:29 -0400 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
