Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 6376:4e48a6a40bfe
Install roundup.test with setup.py
| author | Ralf Schlatterbeck <rsc@runtux.com> |
|---|---|
| date | Wed, 07 Apr 2021 15:18:25 +0200 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
