Lines Matching full:defaults
547 def __init__(self, decorators, name, argnames, defaults, flags, doc, code, lineno=None):
551 self.defaults = defaults
568 children.extend(flatten(self.defaults))
578 nodelist.extend(flatten_nodes(self.defaults))
583 return "Function(%s, %s, %s, %s, %s, %s, %s)" % (repr(self.decorators), repr(self.name), repr(self.argnames), repr(self.defaults), repr(self.flags), repr(self.doc), repr(self.code))
773 def __init__(self, argnames, defaults, flags, code, lineno=None):
775 self.defaults = defaults
789 children.extend(flatten(self.defaults))
796 nodelist.extend(flatten_nodes(self.defaults))
801 return "Lambda(%s, %s, %s, %s)" % (repr(self.argnames), repr(self.defaults), repr(self.flags), repr(self.code))