view roundup/anypy/my_input.py @ 6133:e7cb0147e6fe

Make format strings use named placeholders rather than %s/%r Fixing some issues reported while updating roundup.pot to prep for 2.0.0 beta releases. Still more to do but....
author John Rouillard <rouilj@ieee.org>
date Sat, 04 Apr 2020 11:22:06 -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/