Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 5603:79da1ca2f94b REST-rebased
Make xmlrpc and rest APIs configurable
| author | Ralf Schlatterbeck <rsc@runtux.com> |
|---|---|
| date | Wed, 30 Jan 2019 13:58:18 +0100 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
