view roundup/anypy/my_input.py @ 6371:5c1db5d4baed

Fix failing xapian test
author Ralf Schlatterbeck <rsc@runtux.com>
date Thu, 01 Apr 2021 08:58:51 +0200
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/