]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-39361: Document the removal of PyTypeObject.tp_print (GH-18125)
authorAmmar Askar <ammar@ammaraskar.com>
Fri, 24 Jan 2020 10:35:01 +0000 (05:35 -0500)
committerVictor Stinner <vstinner@python.org>
Fri, 24 Jan 2020 10:35:01 +0000 (11:35 +0100)
Doc/whatsnew/3.9.rst

index ff5cb1486f9bf0a52b3383d6bd3b977a16a38a02..9b5b4fb378519e358ff54e1a0e9c41c5bb1d6551 100644 (file)
@@ -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 <type-structs>` 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
 ==========