Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 5515:cd0ceb2afdb8
fixed issue2550993 and added test case
| author | Christof Meerwald <cmeerw@cmeerw.org> |
|---|---|
| date | Sun, 19 Aug 2018 15:11:05 +0100 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
