changeset 1767 | c74815729afd |
parent 1758 | 845ca626db09 |
child 1768 | 691083b5682a |
--- a/targets/typemapping.py Thu Aug 17 17:25:17 2017 +0300 +++ b/targets/typemapping.py Fri Aug 18 12:36:31 2017 +0300 @@ -100,8 +100,7 @@ buffptr = cast(ctypes.pythonapi.PyString_AsString(id(buff)), c_void_p).value for iectype in indexes: c_type, unpack_func, pack_func = \ - TypeTranslator.get(iectype, - (None, None, None)) + TypeTranslator.get(iectype, (None, None, None)) if c_type is not None and buffoffset < buffsize: cursor = c_void_p(buffptr + buffoffset) value = unpack_func(cast(cursor,