8000 bpo-39829: __len__ called twice in the list() constructor · python/cpython@1f706b4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1f706b4

Browse files
bpo-39829: __len__ called twice in the list() constructor
1 parent 66c0246 commit 1f706b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Objects/listobject.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2802,6 +2802,7 @@ list.__init__
28022802
/
28032803
28042804
Built-in mutable sequence.
2805+
28052806
If no argument is given, the constructor creates a new empty list.
28062807
The argument must be an iterable if specified.
28072808
[clinic start generated code]*/

0 commit comments

Comments
 (0)
0