Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1b36177

Browse files
authored
Merge pull request #28006 from QuLogic/ft2font-deprecation
2 parents acfef85 + 07abbf2 commit 1b36177

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ft2font_wrapper.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ static PyObject *PyFT2Image_draw_rect(PyFT2Image *self, PyObject *args)
7373
{
7474
char const* msg =
7575
"FT2Image.draw_rect is deprecated since Matplotlib 3.8 and will be removed "
76-
"in Matplotlib 3.10 releases later as it is not used in the library. "
77-
"If you rely on it, please let us know.";
76+
"in Matplotlib 3.10 as it is not used in the library. If you rely on it, "
77+
"please let us know.";
7878
if (PyErr_WarnEx(PyExc_DeprecationWarning, msg, 1)) {
7979
return NULL;
8080
}
@@ -838,8 +838,8 @@ const char *PyFT2Font_get_xys__doc__ =
838838
static PyObject *PyFT2Font_get_xys(PyFT2Font *self, PyObject *args, PyObject *kwds)
839839
{
840840
char const* msg =
841-
"FT2Font.get_xys is deprecated since Matplotlib 3.8 and will be removed two "
842-
"meso releases later as it is not used in the library. If you rely on it, "
841+
"FT2Font.get_xys is deprecated since Matplotlib 3.8 and will be removed in "
842+
"Matplotlib 3.10 as it is not used in the library. If you rely on it, "
843843
"please let us know.";
844844
if (PyErr_WarnEx(PyExc_DeprecationWarning, msg, 1)) {
845845
return NULL;

0 commit comments

Comments
 (0)