Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 5815:fe35a232c6dc
Make comment block raw to avoid travis ci warning on \d in comment block.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Fri, 14 Jun 2019 21:47:22 -0400 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
