Mercurial > p > roundup > code
view roundup/anypy/my_input.py @ 8103:dd13b3a0ea8d
chore(lint): fix variable shadow builtin (len); proper indent func args.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 21 Jul 2024 10:47:34 -0400 |
| parents | 4cf48ff01e04 |
| children |
line wrap: on
line source
try: # Python 2. my_input = raw_input except NameError: # Python 3+. my_input = input
