mirror of
https://github.com/python/cpython.git
synced 2024-11-21 21:09:37 +01:00
Fix old-style print
statement in gettext
comments (#122939)
This commit is contained in:
parent
f9ba1f35c7
commit
7c22ab5b38
@ -648,7 +648,7 @@ def npgettext(context, msgid1, msgid2, n):
|
|||||||
# import gettext
|
# import gettext
|
||||||
# cat = gettext.Catalog(PACKAGE, localedir=LOCALEDIR)
|
# cat = gettext.Catalog(PACKAGE, localedir=LOCALEDIR)
|
||||||
# _ = cat.gettext
|
# _ = cat.gettext
|
||||||
# print _('Hello World')
|
# print(_('Hello World'))
|
||||||
|
|
||||||
# The resulting catalog object currently don't support access through a
|
# The resulting catalog object currently don't support access through a
|
||||||
# dictionary API, which was supported (but apparently unused) in GNOME
|
# dictionary API, which was supported (but apparently unused) in GNOME
|
||||||
|
Loading…
Reference in New Issue
Block a user