view roundup/anypy/my_input.py @ 5473:3afda04c96a1

mailer string encoding fixes
author Christof Meerwald <cmeerw@cmeerw.org>
date Sun, 29 Jul 2018 01:31:48 +0100
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/