Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 7121:cb39a6c95cd3
Fix Traceback on empty numeric order attribute
| author | Ralf Schlatterbeck <rsc@runtux.com> |
|---|---|
| date | Thu, 19 Jan 2023 14:40:52 +0100 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
