Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 7663:af720eeb7e86
doc: fix description tags on web page.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 18 Oct 2023 12:28:13 -0400 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
