OSDN Git Service

fix version
[meshio/pymeshio.git] / pymeshio / common.py
index e67580d..698b5f9 100644 (file)
@@ -225,7 +225,7 @@ class ParseException(Exception):
     pass\r
 \r
 \r
-def readall(path: str) -> bytes:\r
+def readall(path):\r
     with open(path, "rb") as f:\r
         return f.read()\r
 \r
@@ -234,7 +234,7 @@ class BinaryLoader(object):
     def __init__(self, io):\r
         self.io=io\r
 \r
-    def unpack(self, fmt: str, size: int) -> "read value as format":\r
+    def unpack(self, fmt, size):\r
         result=struct.unpack(fmt, self.io.read(size))\r
         return result[0]\r
 \r