projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
171d69c
)
safety fix
author
Stefan Behnel
<scoder@users.berlios.de>
Sun, 11 Oct 2009 07:59:44 +0000
(09:59 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sun, 11 Oct 2009 07:59:44 +0000
(09:59 +0200)
Cython/Compiler/Code.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Code.py
b/Cython/Compiler/Code.py
index 4afdd28ffe8d5d802f4ebd350d3eb3aeacf3f691..fd482ad15f82e0841f875f44971e68ca3ecdd3ed 100644
(file)
--- a/
Cython/Compiler/Code.py
+++ b/
Cython/Compiler/Code.py
@@
-310,7
+310,7
@@
class StringConst(object):
if encoding is not None:
encoding = encoding.upper()
- is_str =
identifier or bool(
is_str)
+ is_str =
bool(identifier or
is_str)
key = (is_str, encoding)
if py_strings is not None and key in py_strings: