fix _set_modifier typing

This commit is contained in:
jesopo 2020-02-15 23:35:27 +00:00
parent dfdde884b8
commit 4298403164

View file

@ -23,7 +23,7 @@ class SpecArgumentType(object):
self._set_modifier(modifier) self._set_modifier(modifier)
self.exported = exported self.exported = exported
def _set_modifier(self, modifier: str): def _set_modifier(self, modifier: typing.Optional[str]):
pass pass
def name(self) -> typing.Optional[str]: def name(self) -> typing.Optional[str]: