From: Ammar Askar Date: Fri, 24 Jan 2020 10:35:01 +0000 (-0500) Subject: bpo-39361: Document the removal of PyTypeObject.tp_print (GH-18125) X-Git-Tag: v3.9.0a3~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2d5097663d7f80921fb07cdcd26c9d59cf71f1a2;p=thirdparty%2FPython%2Fcpython.git bpo-39361: Document the removal of PyTypeObject.tp_print (GH-18125) --- diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst index ff5cb1486f9b..9b5b4fb37851 100644 --- a/Doc/whatsnew/3.9.rst +++ b/Doc/whatsnew/3.9.rst @@ -323,6 +323,11 @@ Build and C API Changes removed in Python 3.3. (Contributed by Victor Stinner in :issue:`38896`.) +* The ``tp_print`` slot of :ref:`PyTypeObject ` has been removed. + It was used for printing objects to files in Python 2.7 and before. Since + Python 3.0, it has been ignored and unused. + (Contributed by Jeroen Demeyer in :issue:`36974`.) + Deprecated ==========