Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 7200:c878d24ea034
disable gpg for 2.7 https://issues.roundup-tracker.org/issue2551267 no-github-ci
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 27 Feb 2023 12:17:11 -0500 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
