Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 6049:99d4fb22aa65
flake8 fixes: ignore import unused in python3.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 11 Jan 2020 16:42:45 -0500 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
