Unwrap for expressions in comprehensions, too.
This commit is contained in:
parent
f2e800ddf1
commit
7d524ac328
25 changed files with 54 additions and 54 deletions
|
|
@ -511,7 +511,7 @@ class EvMenu(object):
|
|||
else:
|
||||
# a python path of a module
|
||||
module = mod_import(menudata)
|
||||
return dict((key, func) for key, func in list(module.__dict__.items())
|
||||
return dict((key, func) for key, func in module.__dict__.items()
|
||||
if isfunction(func) and not key.startswith("_"))
|
||||
|
||||
def _format_node(self, nodetext, optionlist):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue