Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 7035:edaf7086cb2e
flake8 E228 missing whitespace around modulo operator
plus some indenting fixes to realign lines.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 10 Oct 2022 14:41:11 -0400 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
