Fix grammar and improve clarity for an deprecation message. (GH-105457)

This commit is contained in:
Raymond Hettinger 2023-06-07 11:29:04 -05:00 committed by GitHub
parent 064de0e3fc
commit f339ec5ddf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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; \
}