https://github.com/python/cpython/commit/79452b135c3a5564b603f60052bbff36a964ed85 commit: 79452b135c3a5564b603f60052bbff36a964ed85 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: AA-Turner <[email protected]> date: 2024-08-14T21:31:19Z summary:
[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 8e2dc7f380c7ffe6b0fe525b4d0558aaed9d7145) Co-authored-by: Damien <[email protected]> files: M Doc/library/enum.rst diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst index 9cf94e342dad28..df9070e9301f9c 100644 --- a/Doc/library/enum.rst +++ b/Doc/library/enum.rst @@ -570,6 +570,8 @@ Data Types >>> len(white) 3 + .. versionadded:: 3.11 + .. method:: __bool__(self): Returns *True* if any members in flag, *False* otherwise:: _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: [email protected]
