projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
898f176
)
simplify comparison
author
Stefan Behnel
<stefan_ml@behnel.de>
Wed, 15 Aug 2012 12:58:07 +0000
(14:58 +0200)
committer
Stefan Behnel
<stefan_ml@behnel.de>
Wed, 15 Aug 2012 12:58:07 +0000
(14:58 +0200)
Cython/Compiler/Symtab.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Symtab.py
b/Cython/Compiler/Symtab.py
index
2a5aa60
..
559b942
100644
(file)
--- a/
Cython/Compiler/Symtab.py
+++ b/
Cython/Compiler/Symtab.py
@@
-508,7
+508,7
@@
class Scope(object):
entry.type.scope = scope
self.type_entries.append(entry)
if base_classes:
- if entry.type.base_classes and
not entry.type.base_classes =
= base_classes:
+ if entry.type.base_classes and
entry.type.base_classes !
= base_classes:
error(pos, "Base type does not match previous declaration")
else:
entry.type.base_classes = base_classes