summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobolevn <mail@sobolevn.me>2024-08-12 15:15:57 (GMT)
committerGitHub <noreply@github.com>2024-08-12 15:15:57 (GMT)
commit7c22ab5b38a1350c976ef35453d9b3ab7a294812 (patch)
tree86b08494d941011a9a93ca19c7ca80bc2fbfe4c9
parentf9ba1f35c7171340c86199c93eb3ff5200ba3cad (diff)
downloadcpython-7c22ab5b38a1350c976ef35453d9b3ab7a294812.zip
cpython-7c22ab5b38a1350c976ef35453d9b3ab7a294812.tar.gz
cpython-7c22ab5b38a1350c976ef35453d9b3ab7a294812.tar.bz2
Fix old-style `print` statement in `gettext` comments (#122939)
-rw-r--r--Lib/gettext.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/gettext.py b/Lib/gettext.py
index 62cff81..a0d81cf 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