projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ecc84e
)
rewrote Python 2.5-ism
author
Stefan Behnel
<scoder@users.berlios.de>
Mon, 3 Sep 2007 14:13:26 +0000
(16:13 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Mon, 3 Sep 2007 14:13:26 +0000
(16:13 +0200)
Cython/Compiler/TypeSlots.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/TypeSlots.py
b/Cython/Compiler/TypeSlots.py
index 1f1d414dbfaf32ff54225f7f1e39752618b4ae09..a6316dca64db4cd5954ce45300255f47019bc7fc 100644
(file)
--- a/
Cython/Compiler/TypeSlots.py
+++ b/
Cython/Compiler/TypeSlots.py
@@
-85,7
+85,9
@@
class Signature:
def method_flags(self):
if self.ret_format == "O":
- full_args = "O" + self.fixed_arg_format if self.has_dummy_arg else self.fixed_arg_format
+ full_args = self.fixed_arg_format
+ if self.has_dummy_arg:
+ full_args = "O" + full_args
if full_args in ["O", "T"]:
if self.has_generic_args:
return [method_varargs, method_keywords]