chore: reformatted all files

This commit is contained in:
2020-02-03 19:46:41 +01:00
parent ca78b6a6fd
commit 4ed2215c3f
6 changed files with 7 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
import struct
from typing import List
from .clazz import Class, Method, Code
from .clazz import Class, Code, Method
from .exceptions import PJVMException
from .old_jtypes import JObj
@@ -36,7 +36,7 @@ class Frame:
raise PJVMException("Local out of bound!")
self.local_variables[index] = val
def get_local(self, index: int) ->JObj:
def get_local(self, index: int) -> JObj:
if index > self.code.max_locals:
raise PJVMException("Local out of bound!")
val = self.local_variables[index]