From: Raymond Hettinger Date: Wed, 7 Jun 2023 16:29:04 +0000 (-0500) Subject: Fix grammar and improve clarity for an deprecation message. (GH-105457) X-Git-Tag: v3.13.0a1~1846 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f339ec5ddf5551113b6a84c343bc2e272aed3819;p=thirdparty%2FPython%2Fcpython.git Fix grammar and improve clarity for an deprecation message. (GH-105457) --- diff --git a/Modules/itertoolsmodule.c b/Modules/itertoolsmodule.c index 4a6d1314b386..ae63bae79d5d 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; \ }