SyntaxFix
Write A Post
Hire A Developer
Questions
Sometimes you want to filter the list based on public/private vars. E.g.
def pub_vars(self): """Gives the variable names of our instance we want to expose """ return [k for k in vars(self) if not k.startswith('_')]