Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 6993:570bdfad078d
fix test_pt_html handle new error pointer in output.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 01 Oct 2022 23:01:30 -0400 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
