Skip to content

Commit d309257

Browse files
[3.12] Fix grammar and improve clarity for an deprecation message. (GH-105457) (#105458)
1 parent 9a7c4a5 commit d309257

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/itertoolsmodule.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ class itertools.pairwise "pairwiseobject *" "clinic_state()->pairwise_type"
9898
#define ITERTOOL_PICKLE_DEPRECATION \
9999
if (PyErr_WarnEx( \
100100
PyExc_DeprecationWarning, \
101-
"Itertool pickle/copy/deepcopy support " \
102-
"will be removed in a Python 3.14.", 1) < 0) { \
101+
"Pickle, copy, and deepcopy support will be " \
102+
"removed from itertools in Python 3.14.", 1) < 0) { \
103103
return NULL; \
104104
}
105105

0 commit comments

Comments
 (0)