view roundup/anypy/my_input.py @ 5936:ed5c19fca083

__future__ import was failing, not first command in file.
author John Rouillard <rouilj@ieee.org>
date Sat, 19 Oct 2019 20:19:43 -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/