Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 7817:161a92d1fb71
doc: link to pology; document use of .Hint extracted comments
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 20 Mar 2024 11:47:04 -0400 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
