fixed error in source code interpretation

This commit is contained in:
weckyy702
2020-12-21 22:49:15 +01:00
parent 711ceb2567
commit 51f84e31c2
2 changed files with 2 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
from Iinstruction import *
import logging
import re
from typing import Any, Iterator
from typing import Any, List
class Scope():
@@ -15,7 +15,7 @@ class Scope():
def add_subscope(self, subscope) -> None:
self.contents.append(subscope)
def load_src(filepath: str) -> list[str]:
def load_src(filepath: str) -> List[str]:
lines = []
try:
with open(filepath) as file: