diff options
author | Ammar Askar <ammar@ammaraskar.com> | 2020-01-24 10:35:01 (GMT) |
---|---|---|
committer | Victor Stinner <vstinner@python.org> | 2020-01-24 10:35:01 (GMT) |
commit | 2d5097663d7f80921fb07cdcd26c9d59cf71f1a2 (patch) | |
tree | 16922704c29182a04aed6b0a63df3ba166d72d12 /Doc | |
parent | e9652e8d58392f5022759ba06b444ce970eb12db (diff) | |
download | cpython-2d5097663d7f80921fb07cdcd26c9d59cf71f1a2.zip cpython-2d5097663d7f80921fb07cdcd26c9d59cf71f1a2.tar.gz cpython-2d5097663d7f80921fb07cdcd26c9d59cf71f1a2.tar.bz2 |
bpo-39361: Document the removal of PyTypeObject.tp_print (GH-18125)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/3.9.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst index ff5cb14..9b5b4fb 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 <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 ========== |