Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 6661:18445cd132c8
Add .pytest_cache to .hgignore
| author | Ralf Schlatterbeck <rsc@runtux.com> |
|---|---|
| date | Tue, 03 May 2022 16:27:39 +0200 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
