Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 6033:4d2e1fa03f0f
flake8 format fixes, ignore 'file' as it is a type under py2
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Fri, 03 Jan 2020 21:22:36 -0500 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
