mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
bpo-45346: Keep docs consistent regarding true and false values (GH-28697) (GH-28698)
This commit is contained in:
parent
22cf6a2f23
commit
72089f33c0
3 changed files with 6 additions and 6 deletions
|
|
@ -1861,7 +1861,7 @@ def test_warning_notimplemented(self):
|
|||
# be evaluated in a boolean context (virtually all such use cases
|
||||
# are a result of accidental misuse implementing rich comparison
|
||||
# operations in terms of one another).
|
||||
# For the time being, it will continue to evaluate as truthy, but
|
||||
# For the time being, it will continue to evaluate as a true value, but
|
||||
# issue a deprecation warning (with the eventual intent to make it
|
||||
# a TypeError).
|
||||
self.assertWarns(DeprecationWarning, bool, NotImplemented)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue