Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 5477:b0c2307be3d1
applied remaining part of original patch 045 (slightly modified)
| author | Christof Meerwald <cmeerw@cmeerw.org> |
|---|---|
| date | Mon, 30 Jul 2018 22:09:48 +0100 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
