From: sobolevn Date: Mon, 12 Aug 2024 15:15:57 +0000 (+0300) Subject: Fix old-style `print` statement in `gettext` comments (#122939) X-Git-Tag: v3.14.0a1~806 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7c22ab5b38a1350c976ef35453d9b3ab7a294812;p=thirdparty%2FPython%2Fcpython.git Fix old-style `print` statement in `gettext` comments (#122939) --- diff --git a/Lib/gettext.py b/Lib/gettext.py index 62cff81b7b3d..a0d81cf846a0 100644 --- a/Lib/gettext.py +++ b/Lib/gettext.py @@ -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