Skip to content
Permalink
Browse files

these take many args

  • Loading branch information
alex committed Jun 24, 2013
1 parent 845a21b commit adbaab07b1e217f5618e1414f0d842ce47d4cfe4
Showing with 4 additions and 4 deletions.
  1. +4 −4 topaz/objects/moduleobject.py
@@ -477,14 +477,14 @@ def method_module_function(self, space, args_w):
self.attach_method(space, name, self._find_method_pure(space, name, self.version))

@classdef.method("private_class_method")
def method_private_class_method(self, space, w_name):
def method_private_class_method(self, space, args_w):
w_cls = self.getsingletonclass(space)
return space.send(w_cls, "private", [w_name])
return space.send(w_cls, "private", args_w)

@classdef.method("public_class_method")
def method_public_class_method(self, space, w_name):
def method_public_class_method(self, space, args_w):
w_cls = self.getsingletonclass(space)
return space.send(w_cls, "public", [w_name])
return space.send(w_cls, "public", args_w)

@classdef.method("alias_method", new_name="symbol", old_name="symbol")
@check_frozen()

0 comments on commit adbaab0

Please sign in to comment.