mirror of
https://github.com/python/cpython.git
synced 2024-11-23 01:45:25 +08: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
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user