view roundup/anypy/my_input.py @ 6609:b6452b669720

Updates, python3, hg diff, add target doc, add pytest target
author John Rouillard <rouilj@ieee.org>
date Fri, 28 Jan 2022 20:11:32 -0500
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/