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
1 changed files with 1 additions and 1 deletions

View File

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