1.1 --- a/micropython/data.py Fri May 29 00:18:40 2009 +0200
1.2 +++ b/micropython/data.py Sat May 30 20:27:20 2009 +0200
1.3 @@ -1081,9 +1081,9 @@
1.4
1.5 def as_instantiator(self):
1.6
1.7 - "Make an instantiator function from a method."
1.8 + "Make an instantiator function from a method, keeping all arguments."
1.9
1.10 - function = Function(self.parent.name, self.parent.parent, self.argnames[1:], self.defaults,
1.11 + function = Function(self.parent.name, self.parent.parent, self.argnames, self.defaults,
1.12 self.has_star, self.has_dstar, self.module, self.astnode)
1.13 function.default_attrs = self.default_attrs
1.14 return function