Skip to content

Commit 79452b1

Browse files
[3.13] gh-123005: Add version added in enum.Flag.__len__ (GH-123007) (#123026)
gh-123005: Add version added in enum.Flag.__len__ (GH-123007) (cherry picked from commit 8e2dc7f) Co-authored-by: Damien <[email protected]>
1 parent 8644014 commit 79452b1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Doc/library/enum.rst

+2
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,8 @@ Data Types
570570
>>> len(white)
571571
3
572572

573+
.. versionadded:: 3.11
574+
573575
.. method:: __bool__(self):
574576

575577
Returns *True* if any members in flag, *False* otherwise::

0 commit comments

Comments
 (0)