https://github.com/python/cpython/commit/8e2dc7f380c7ffe6b0fe525b4d0558aaed9d7145
commit: 8e2dc7f380c7ffe6b0fe525b4d0558aaed9d7145
branch: main
author: Damien <[email protected]>
committer: ethanfurman <[email protected]>
date: 2024-08-14T13:30:33-07:00
summary:
gh-123005: Add version added in enum.Flag.__len__ (GH-123007)
files:
M Doc/library/enum.rst
diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst
index 8b3f397ea862f4..0a4246158a5488 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]