Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 5740:abbea26a11df
Clean up pylint reports of unused modules, duplicate imports, indent
issues, relative import, extra ';', unneeded pass.
Also added support for TypeError as I restructured accept header
parsing a bit to remove uneeded "version" variable assignments
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 28 May 2019 21:03:41 -0400 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
