projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e2592b
)
increase warning level of __(set|del)slice_ methods
author
Stefan Behnel
<scoder@users.berlios.de>
Thu, 29 May 2008 10:01:05 +0000
(12:01 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Thu, 29 May 2008 10:01:05 +0000
(12:01 +0200)
Cython/Compiler/ModuleNode.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/ModuleNode.py
b/Cython/Compiler/ModuleNode.py
index 80e7395367874cf705f12f0f2f2b14b00b93c5ef..bcac4c57bb05edbebe5c34e3684ccc68857b6d32 100644
(file)
--- a/
Cython/Compiler/ModuleNode.py
+++ b/
Cython/Compiler/ModuleNode.py
@@
-730,7
+730,7
@@
class ModuleNode(Nodes.Node, Nodes.BlockNode):
if scope.defines_any(["__setitem__", "__delitem__"]):
self.generate_ass_subscript_function(scope, code)
if scope.defines_any(["__setslice__", "__delslice__"]):
- warning(self.pos, "__setslice__ and __delslice__ are not supported by Python 3")
+ warning(self.pos, "__setslice__ and __delslice__ are not supported by Python 3"
, 1
)
self.generate_ass_slice_function(scope, code)
if scope.defines_any(["__getattr__","__getattribute__"]):
self.generate_getattro_function(scope, code)