From 7c22ab5b38a1350c976ef35453d9b3ab7a294812 Mon Sep 17 00:00:00 2001 From: sobolevn Date: Mon, 12 Aug 2024 18:15:57 +0300 Subject: [PATCH] Fix old-style `print` statement in `gettext` comments (#122939) --- Lib/gettext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/gettext.py b/Lib/gettext.py index 62cff81b7b3..a0d81cf846a 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