Skip to content

Commit a88cf31

Browse files
committed
Python: remove ctypes dependency in runtime library.
1 parent 3866254 commit a88cf31

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

‎python/flatbuffers/encode.py‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
import ctypes
16-
1715
from . import number_types as N
1816
from . import packer
1917
from .compat import memoryview_type

‎python/flatbuffers/number_types.py‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
import ctypes
1615
import collections
1716
import struct
18-
from ctypes import sizeof
1917

2018
from . import packer
2119

0 commit comments

Comments
 (0)