Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 5460:87f22a5d65ca
container modification while iterating over it
| author | Christof Meerwald <cmeerw@cmeerw.org> |
|---|---|
| date | Tue, 24 Jul 2018 21:25:38 +0100 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
