]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-123005: Add version added in enum.Flag.__len__ (GH-123007) (#123026)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 14 Aug 2024 21:31:19 +0000 (23:31 +0200)
committerGitHub <noreply@github.com>
Wed, 14 Aug 2024 21:31:19 +0000 (21:31 +0000)
gh-123005: Add version added in enum.Flag.__len__ (GH-123007)
(cherry picked from commit 8e2dc7f380c7ffe6b0fe525b4d0558aaed9d7145)

Co-authored-by: Damien <81557462+Damien-Chen@users.noreply.github.com>
Doc/library/enum.rst

index 9cf94e342dad281c17bb31c3102d110d39bf84c1..df9070e9301f9c8754aff4bb5a0bd8e411f9b6f3 100644 (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::