]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix grammar and improve clarity for an deprecation message. (GH-105457)
authorRaymond Hettinger <rhettinger@users.noreply.github.com>
Wed, 7 Jun 2023 16:29:04 +0000 (11:29 -0500)
committerGitHub <noreply@github.com>
Wed, 7 Jun 2023 16:29:04 +0000 (11:29 -0500)
Modules/itertoolsmodule.c

index 4a6d1314b3864ecc71aa1c65c899ac022be4120c..ae63bae79d5d07c9fd2c8baf5744c79d055a0d02 100644 (file)
@@ -98,8 +98,8 @@ class itertools.pairwise "pairwiseobject *" "clinic_state()->pairwise_type"
 #define ITERTOOL_PICKLE_DEPRECATION                                           \
     if (PyErr_WarnEx(                                                         \
             PyExc_DeprecationWarning,                                         \
-            "Itertool pickle/copy/deepcopy support "                          \
-            "will be removed in a Python 3.14.", 1) < 0) {                    \
+            "Pickle, copy, and deepcopy support will be "                     \
+            "removed from itertools in Python 3.14.", 1) < 0) {               \
         return NULL;                                                          \
     }