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 c1a4d90 commit 730e0c5Copy full SHA for 730e0c5
Doc/library/stdtypes.rst
@@ -46,7 +46,7 @@ Any object can be tested for truth value, for use in an :keyword:`if` or
46
By default, an object is considered true unless its class defines either a
47
:meth:`~object.__bool__` method that returns ``False`` or a
48
:meth:`~object.__len__` method that
49
-returns zero, when called with the object. [1]_ If one of the methods raise an
+returns zero, when called with the object. [1]_ If one of the methods raises an
50
exception when they are called, the exception is propagated and the object does
51
not have a truth value (for example, :data:`NotImplemented`).
52
Here are most of the built-in objects considered false:
0 commit comments