Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 8296:4d3b371ed543
fix: issue1895197 - translated help texts in admin.py not displayed correctly.
Adjust the technique used to remove the translated "Usage:" prefix
from the printed line. Support Chinese (zh) as well.
Add coding marker so I don't have to modify the tests to skip the ones
that touch the dmin module.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 20 Jan 2025 15:21:56 -0500 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
