projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa022a4
)
cleanup
author
Stefan Behnel
<scoder@users.berlios.de>
Sat, 23 Aug 2008 15:39:06 +0000
(17:39 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sat, 23 Aug 2008 15:39:06 +0000
(17:39 +0200)
Cython/Compiler/Nodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Nodes.py
b/Cython/Compiler/Nodes.py
index 6fa53589753dec2d427c17954b66481e5d7b5a13..34a801af12894c5d8f90520975e2879a6fb59611 100644
(file)
--- a/
Cython/Compiler/Nodes.py
+++ b/
Cython/Compiler/Nodes.py
@@
-1823,8
+1823,9
@@
class DefNode(FuncDefNode):
# --- optimised code when we do not receive any keyword arguments
if self.num_required_kw_args:
+ # pure error case: keywords required but not passed
code.putln('} else {')
- if not self.star_arg:
+ if not self.star_arg
and not self.starstar_arg
:
self.generate_positional_args_check(
max_positional_args, has_fixed_positional_count, code)
# simple case: keywords required but none passed