targets/typemapping.py
changeset 1783 3311eea28d56
parent 1774 ac0fe8aabb5e
child 1835 7533061a6d82
--- a/targets/typemapping.py	Mon Aug 21 21:55:18 2017 +0300
+++ b/targets/typemapping.py	Mon Aug 21 22:41:37 2017 +0300
@@ -23,14 +23,13 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 
 import ctypes
+from ctypes import *
+from datetime import timedelta as td
+
 ctypes.pythonapi.PyString_AsString.argtypes = (ctypes.c_void_p,)
 ctypes.pythonapi.PyString_AsString.restype = ctypes.POINTER(ctypes.c_char)
 
 
-from ctypes import *
-from datetime import timedelta as td
-
-
 class IEC_STRING(Structure):
     """
     Must be changed according to changes in iec_types.h