diff options
| author | 2020-02-15 23:35:27 +0000 | |
|---|---|---|
| committer | 2020-02-15 23:35:27 +0000 | |
| commit | 4298403164d476199139d3b10f0194611eb4f702 (patch) | |
| tree | 7d93cccd484feb8d1357af8fd1c481f6c6fb0b20 /src/utils/parse | |
| parent | implement command spec modifiers, use for `pattern`, use pattern for dice.py (diff) | |
| signature | ||
fix _set_modifier typing
Diffstat (limited to 'src/utils/parse')
| -rw-r--r-- | src/utils/parse/spec.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/parse/spec.py b/src/utils/parse/spec.py index e03c8e23..442656e4 100644 --- a/src/utils/parse/spec.py +++ b/src/utils/parse/spec.py @@ -23,7 +23,7 @@ class SpecArgumentType(object): self._set_modifier(modifier) self.exported = exported - def _set_modifier(self, modifier: str): + def _set_modifier(self, modifier: typing.Optional[str]): pass def name(self) -> typing.Optional[str]: |
