Unwrap for expressions in comprehensions, too.

This commit is contained in:
Ryan Stein 2017-11-02 22:52:16 -04:00
parent f2e800ddf1
commit 7d524ac328
25 changed files with 54 additions and 54 deletions

View file

@ -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("_")]