Skip to content

Python NoneType object of __builtin__module #21379

Discussion options

You must be logged in to vote

you dont have to do matchlist = matchlist.append(i)

matchlist is an array, so just append the element

reassigning matchlist = matchlist.append(i) will make matchlist as None because append method returns None

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants