https://github.com/python/cpython/commit/7c22ab5b38a1350c976ef35453d9b3ab7a294812
commit: 7c22ab5b38a1350c976ef35453d9b3ab7a294812
branch: main
author: sobolevn <[email protected]>
committer: sobolevn <[email protected]>
date: 2024-08-12T18:15:57+03:00
summary:
Fix old-style `print` statement in `gettext` comments (#122939)
files:
M Lib/gettext.py
diff --git a/Lib/gettext.py b/Lib/gettext.py
index 62cff81b7b3d49..a0d81cf846a05c 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
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]