Commit a9876b7b authored by Stefan Behnel's avatar Stefan Behnel

fix PyBytes_GET_SIZE usage

parent a55d387a
...@@ -6107,7 +6107,7 @@ class CoerceToBooleanNode(CoercionNode): ...@@ -6107,7 +6107,7 @@ class CoerceToBooleanNode(CoercionNode):
_special_builtins = { _special_builtins = {
Builtin.list_type : 'PyList_GET_SIZE', Builtin.list_type : 'PyList_GET_SIZE',
Builtin.tuple_type : 'PyTuple_GET_SIZE', Builtin.tuple_type : 'PyTuple_GET_SIZE',
Builtin.bytes_type : 'PyBytes_GET_SIZE', Builtin.bytes_type : '__Pyx_PyBytes_GET_SIZE',
Builtin.unicode_type : 'PyUnicode_GET_SIZE', Builtin.unicode_type : 'PyUnicode_GET_SIZE',
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment