how to find a function definition using AST
Robert Brewer
fumanchu at amor.org
Mon Feb 23 12:35:35 EST 2004
I wrote but couldn't finish (frickin Outlook):
> Also, note that a CallFunc Node obtains a set of attributes
> which other
> Nodes don't have:
class CallFunc(Node):
nodes["callfunc"] = "CallFunc"
def __init__(self, node, args, star_args = None, dstar_args = None):
self.node = node
self.args = args
self.star_args = star_args
self.dstar_args = dstar_args
Hope that helps!
Robert Brewer
MIS
Amor Ministries
fumanchu at amor.org
More information about the Python-list
mailing list