Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 5606:5fc476d4e34c
Merge REST API changes
| author | Ralf Schlatterbeck <rsc@runtux.com> |
|---|---|
| date | Wed, 30 Jan 2019 18:11:02 +0100 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
