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

Skip to content

Commit 2d50976

Browse files
ammaraskarvstinner
authored andcommitted
bpo-39361: Document the removal of PyTypeObject.tp_print (GH-18125)
1 parent e9652e8 commit 2d50976

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Doc/whatsnew/3.9.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,11 @@ Build and C API Changes
323323
removed in Python 3.3.
324324
(Contributed by Victor Stinner in :issue:`38896`.)
325325

326+
* The ``tp_print`` slot of :ref:`PyTypeObject <type-structs>` has been removed.
327+
It was used for printing objects to files in Python 2.7 and before. Since
328+
Python 3.0, it has been ignored and unused.
329+
(Contributed by Jeroen Demeyer in :issue:`36974`.)
330+
326331

327332
Deprecated
328333
==========

0 commit comments

Comments
 (0)