Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 8007:75774e89b483
2.4.0b1 release commits
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 27 May 2024 16:26:55 -0400 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
