Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 7986:83a531e72e3e
update for 2.4.0 beta release
generate to incorporate xhtml disabled.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 25 May 2024 19:15:54 -0400 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
