Unwrap for expressions in comprehensions, too.
This commit is contained in:
parent
f2e800ddf1
commit
7d524ac328
25 changed files with 54 additions and 54 deletions
|
|
@ -141,7 +141,7 @@ class NAttributeHandler(object):
|
|||
|
||||
"""
|
||||
if return_tuples:
|
||||
return [(key, value) for (key, value) in list(self._store.items()) if not key.startswith("_")]
|
||||
return [(key, value) for (key, value) in self._store.items() if not key.startswith("_")]
|
||||
return [key for key in self._store if not key.startswith("_")]
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue