Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 5767:75a13700d97e issue2551008
Add CHANGES.txt entry for issue2551008.
| author | Ezio Melotti <ezio.melotti@gmail.com> |
|---|---|
| date | Wed, 05 Jun 2019 21:00:46 +0200 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
