summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2016-03-24 13:18:11 +0100
committerStefan Behnel <stefan_ml@behnel.de>2016-03-24 13:18:28 +0100
commit5a650fb155558918d9f3b493044e9f08f9f8f958 (patch)
treecdf01e236a81a47126cb90283ec5b116ba28ae4c
parent1adf6cc73e65e0eefe2f426e3ff5b03f97044128 (diff)
downloadcython-5a650fb155558918d9f3b493044e9f08f9f8f958.tar.gz
release hand break from truth tests on Unicode strings in Py3.3+
-rw-r--r--Cython/Compiler/ExprNodes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py
index 0a47dca3b..98a6332b8 100644
--- a/Cython/Compiler/ExprNodes.py
+++ b/Cython/Compiler/ExprNodes.py
@@ -12317,7 +12317,7 @@ class CoerceToBooleanNode(CoercionNode):
Builtin.set_type: 'PySet_GET_SIZE',
Builtin.frozenset_type: 'PySet_GET_SIZE',
Builtin.bytes_type: 'PyBytes_GET_SIZE',
- Builtin.unicode_type: 'PyUnicode_GET_SIZE',
+ Builtin.unicode_type: 'PyUnicode_GET_LENGTH',
}
def __init__(self, arg, env):