Skip to content

Commit 9c55d21

Browse files
Damien-Chenblhsing
authored andcommitted
pythongh-123005: Add version added in enum.Flag.__len__ (pythonGH-123007)
1 parent 00d9f4e commit 9c55d21

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Doc/library/enum.rst

Lines changed: 2 additions & 0 deletions
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)