Missing type

This commit is contained in:
Yohann D'ANELLO 2020-11-10 22:04:38 +01:00
parent 26196a7dca
commit 1684647ea2
1 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
from typing import Any
class TexturePack:
_packs = dict()
@ -16,7 +19,7 @@ class TexturePack:
self.__dict__.update(**kwargs)
TexturePack._packs[name] = self
def __getitem__(self, item):
def __getitem__(self, item) -> Any:
return self.__dict__[item]
@classmethod