0
0
mirror of https://github.com/python/cpython.git synced 2024-11-21 12:59:38 +01:00

Fix old-style print statement in gettext comments (#122939)

This commit is contained in:
sobolevn 2024-08-12 18:15:57 +03:00 committed by GitHub
parent f9ba1f35c7
commit 7c22ab5b38
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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