Typehint format method
Co-authored-by: Stocker <44980366+StockerMC@users.noreply.github.com>
This commit is contained in:
parent
65dfc1acd2
commit
f96083e109
@ -655,7 +655,7 @@ class ProtocolUrl(Enum):
|
||||
def __str__(self) -> str:
|
||||
return self.value
|
||||
|
||||
def format(self, **kwargs) -> str:
|
||||
def format(self, **kwargs: Any) -> str:
|
||||
return self.value.format(**kwargs)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user