targets/typemapping.py
changeset 1847 6198190bc121
parent 1835 7533061a6d82
child 1881 091005ec69c4
--- a/targets/typemapping.py	Tue Oct 03 16:31:31 2017 +0300
+++ b/targets/typemapping.py	Thu Oct 05 16:38:49 2017 +0300
@@ -100,7 +100,7 @@
     buffsize = len(buff)
     buffptr = cast(ctypes.pythonapi.PyString_AsString(id(buff)), c_void_p).value
     for iectype in indexes:
-        c_type, unpack_func, pack_func = \
+        c_type, unpack_func, _pack_func = \
             TypeTranslator.get(iectype, (None, None, None))
         if c_type is not None and buffoffset < buffsize:
             cursor = c_void_p(buffptr + buffoffset)