Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 7970:b63fcfc2c984
bug: make classhelper link open in new window when js is disabled
Prevent the web page displaying a classhelper link from being replaced
if JavaScript is disabled.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 18 May 2024 21:28:05 -0400 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
