We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 663add0 commit f309a02Copy full SHA for f309a02
1 file changed
Doc/whatsnew/3.9.rst
@@ -146,6 +146,12 @@ Deprecated
146
of Python. For the majority of use cases users can leverage the Abstract Syntax
147
Tree (AST) generation and compilation stage, using the :mod:`ast` module.
148
149
+* Using :data:`NotImplemented` in a boolean context has been deprecated,
150
+ as it is almost exclusively the result of incorrect rich comparator
151
+ implementations. It will be made a :exc:`TypeError` in a future version
152
+ of Python.
153
+ (Contributed by Josh Rosenberg in :issue:`35712`.)
154
+
155
156
Removed
157
=======
0 commit comments