From 2d5097663d7f80921fb07cdcd26c9d59cf71f1a2 Mon Sep 17 00:00:00 2001 From: Ammar Askar Date: Fri, 24 Jan 2020 05:35:01 -0500 Subject: [PATCH] bpo-39361: Document the removal of PyTypeObject.tp_print (GH-18125) --- Doc/whatsnew/3.9.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst index ff5cb1486f9..9b5b4fb3785 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 ==========