view roundup/anypy/my_input.py @ 7086:4d62d6e08daf

maint: Add alt text and a period to other alt text. Apparently ahrefs doesn't like alt="" to indicate an image that doesn't need to be announce to screenreaders and other assistive devices 8-(.
author John Rouillard <rouilj@ieee.org>
date Tue, 29 Nov 2022 21:56:23 -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/