view roundup/anypy/my_input.py @ 5690:4aae822e2cb4

Added a few comments and a test that fails with the pre-patched code and uses POST.
author John Rouillard <rouilj@ieee.org>
date Wed, 03 Apr 2019 07:04:29 -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/