view roundup/anypy/my_input.py @ 5834:b3905faf58ea

Revert that last attempt to fix. Breaks things worse. Reopened https://issues.roundup-tracker.org/issue2551049.
author John Rouillard <rouilj@ieee.org>
date Fri, 05 Jul 2019 20:59:57 -0400
parents 4cf48ff01e04
children
line wrap: on
line source

try:
    # Python 2.
    my_input = raw_input
except NameError:
    # Python 3+.
    my_input = input

Roundup Issue Tracker: http://roundup-tracker.org/