Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 6912:a23eaa3013e6
test get_indexer three autosearch options: xapian, whoosh, native
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 03 Sep 2022 22:35:09 -0400 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
