From d3092573a827ec9b8cf2094f0fddc2eaa95a5127 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Wed, 7 Jun 2023 10:41:04 -0700 Subject: [3.12] Fix grammar and improve clarity for an deprecation message. (GH-105457) (#105458) --- Modules/itertoolsmodule.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/itertoolsmodule.c b/Modules/itertoolsmodule.c index 4a6d131..ae63bae 100644 --- a/Modules/itertoolsmodule.c +++ b/Modules/itertoolsmodule.c @@ -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; \ } -- cgit v0.12