Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 5417:c749d6795bc2
Python 3 preparation: unichr.
| author | Joseph Myers <jsm@polyomino.org.uk> |
|---|---|
| date | Wed, 25 Jul 2018 09:07:03 +0000 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
