from blah import boo import baz as wop def thing(): pass def hello(): what; up; def boo(a, *b, c=1, **d): pass def bar(a=1, *b): f(a=1, *b) a = [b for c in d if e == f]