gh-123005: Add version added in enum.Flag.__len__ (GH-123007)

This commit is contained in:
Damien 2024-08-15 04:30:33 +08:00 committed by GitHub
parent f84754b705
commit 8e2dc7f380
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -570,6 +570,8 @@ Data Types
>>> len(white)
3
.. versionadded:: 3.11
.. method:: __bool__(self):
Returns *True* if any members in flag, *False* otherwise::