Skip to content

Commit 7c22ab5

Browse files
authored
Fix old-style print statement in gettext comments (#122939)
1 parent f9ba1f3 commit 7c22ab5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/gettext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ def npgettext(context, msgid1, msgid2, n):
648648
# import gettext
649649
# cat = gettext.Catalog(PACKAGE, localedir=LOCALEDIR)
650650
# _ = cat.gettext
651-
# print _('Hello World')
651+
# print(_('Hello World'))
652652

653653
# The resulting catalog object currently don't support access through a
654654
# dictionary API, which was supported (but apparently unused) in GNOME

0 commit comments

Comments
 (0)