-
-
Notifications
You must be signed in to change notification settings - Fork 7
Typo in pattern matching example. #32
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentationgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentationgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
In the pattern matching example, the line
produces inconsistent output value
34for the last element (0) in the list. It should be9instead. Also, the output of this line would be a map iterator instead of a list in python 3 (if im not mistaken support for python 2 has been dropped?).So it should be:
or