projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17b858c
)
comment
author
Stefan Behnel
<scoder@users.berlios.de>
Sat, 5 Dec 2009 22:35:44 +0000
(23:35 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sat, 5 Dec 2009 22:35:44 +0000
(23:35 +0100)
Cython/Compiler/TypeSlots.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/TypeSlots.py
b/Cython/Compiler/TypeSlots.py
index d23559a62a00b1a8163902555ad4ba116dd9d3ef..1399fcf38782fca1cf5bb2ff72beb05bbe0d12a7 100644
(file)
--- a/
Cython/Compiler/TypeSlots.py
+++ b/
Cython/Compiler/TypeSlots.py
@@
-83,6
+83,7
@@
class Signature(object):
return len(self.fixed_arg_format)
def is_self_arg(self, i):
+ # argument is 'self' for methods or 'class' for classmethods
return self.fixed_arg_format[i] == 'T'
def fixed_arg_type(self, i):