diff --git a/tools/spec.py b/tools/spec.py index de0028d..25e1ca0 100644 --- a/tools/spec.py +++ b/tools/spec.py @@ -14,15 +14,14 @@ def rename(name: str): ############################################################################### class Registry: + types: Dict[str, object] = {} + extensions: Dict = {} + features: Dict = {} + applied: Set = set() + def __init__(self): - self.types = {} - self.extensions = {} - self.features = {} - self.types['API Constants'] = Unscoped('API Constants') - self.applied = set() - def _serialise(self, name: str, queued: Set[str]): if name in queued: return []