Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 6291:a67e2b559e8d
Document changing FileClass content files.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Fri, 27 Nov 2020 17:55:52 -0500 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
