mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Fix old-style print
statement in gettext
comments (#122939)
This commit is contained in:
parent
f9ba1f35c7
commit
7c22ab5b38
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue