Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 6981:aa629aebac41
flake8 - import order, spacing
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 14 Sep 2022 20:23:42 -0400 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
