From a88cf317fdc2c69ec891d9dd48da8fa33ad5d5f5 Mon Sep 17 00:00:00 2001 From: rw Date: Mon, 8 Feb 2016 14:15:02 -0800 Subject: [PATCH] Python: remove ctypes dependency in runtime library. --- python/flatbuffers/encode.py | 2 -- python/flatbuffers/number_types.py | 2 -- 2 files changed, 4 deletions(-) diff --git a/python/flatbuffers/encode.py b/python/flatbuffers/encode.py index 2f3be266d..1aa9230e3 100644 --- a/python/flatbuffers/encode.py +++ b/python/flatbuffers/encode.py @@ -12,8 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -import ctypes - from . import number_types as N from . import packer from .compat import memoryview_type diff --git a/python/flatbuffers/number_types.py b/python/flatbuffers/number_types.py index 9d42591f5..a9605deec 100644 --- a/python/flatbuffers/number_types.py +++ b/python/flatbuffers/number_types.py @@ -12,10 +12,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -import ctypes import collections import struct -from ctypes import sizeof from . import packer