Skip to content

Commit 8e2dc7f

Browse files
authored
gh-123005: Add version added in enum.Flag.__len__ (GH-123007)
1 parent f84754b commit 8e2dc7f

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)