Skip to content

list in ListModelMixin could overwrite the builtins list method of python and causes error #9159

Discussion options

You must be logged in to vote

Also, list is a bound method so it's accessed as self.list not list, so there's no shadowing.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@kevin-brown
Comment options

@kevin-brown
Comment options

Comment options

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