Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 07abbf2

Browse filesBrowse files
committed
Fix deprecation warnings in ft2font extension
1 parent acfef85 commit 07abbf2
Copy full SHA for 07abbf2

File tree

Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed

‎src/ft2font_wrapper.cpp

Copy file name to clipboardExpand all lines: src/ft2font_wrapper.cpp
+4-4Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.