Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 7249:bd2dc1484b39
flake8 fix
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 11 Apr 2023 22:06:07 -0400 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
