Skip to content

Commit 730e0c5

Browse files
Update Doc/library/stdtypes.rst
Co-authored-by: Jelle Zijlstra <[email protected]>
1 parent c1a4d90 commit 730e0c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/stdtypes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Any object can be tested for truth value, for use in an :keyword:`if` or
4646
By default, an object is considered true unless its class defines either a
4747
:meth:`~object.__bool__` method that returns ``False`` or a
4848
:meth:`~object.__len__` method that
49-
returns zero, when called with the object. [1]_ If one of the methods raise an
49+
returns zero, when called with the object. [1]_ If one of the methods raises an
5050
exception when they are called, the exception is propagated and the object does
5151
not have a truth value (for example, :data:`NotImplemented`).
5252
Here are most of the built-in objects considered false:

0 commit comments

Comments
 (0)