From 899791e91421f595415ea4243b4e73ac6af83dcc Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sun, 11 Oct 2009 09:59:44 +0200 Subject: [PATCH] safety fix --- Cython/Compiler/Code.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cython/Compiler/Code.py b/Cython/Compiler/Code.py index 4afdd28f..fd482ad1 100644 --- 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: -- 2.26.2