diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-17 08:00:19 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-17 08:00:19 +0000 |
commit | d91085598f5185b267ea51a3f615da9527af2ed2 (patch) | |
tree | 80849b9455438e9963a61d7aff3fc3b060213553 /Demo/metaclasses/Simple.py | |
parent | fe55464f393fc002fd0911a4d8dba6694723d408 (diff) | |
download | cpython-git-d91085598f5185b267ea51a3f615da9527af2ed2.tar.gz |
Remove apply()
Diffstat (limited to 'Demo/metaclasses/Simple.py')
-rw-r--r-- | Demo/metaclasses/Simple.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/metaclasses/Simple.py b/Demo/metaclasses/Simple.py index 03ed2592ee..e3e54f76be 100644 --- a/Demo/metaclasses/Simple.py +++ b/Demo/metaclasses/Simple.py @@ -28,7 +28,7 @@ class BoundMethod: self.instance = instance def __call__(self, *args): print "calling", self.function, "for", self.instance, "with", args - return apply(self.function, (self.instance,) + args) + return self.function(self.instance, *args) Trace = Tracing('Trace', (), {}) |