Skip to content

Commit

Permalink
Fix old-style print statement in gettext comments (python#122939)
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn authored Aug 12, 2024
1 parent f9ba1f3 commit 7c22ab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/gettext.py
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ def npgettext(context, msgid1, msgid2, n):
# import gettext
# cat = gettext.Catalog(PACKAGE, localedir=LOCALEDIR)
# _ = cat.gettext
# print _('Hello World')
# print(_('Hello World'))

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

0 comments on commit 7c22ab5

Please sign in to comment.