Remove a given method's parser if it exists.
(self, command_method: BoundCommandFunc)
| 297 | return self._parsers.get(full_method_name) |
| 298 | |
| 299 | def remove(self, command_method: BoundCommandFunc) -> None: |
| 300 | """Remove a given method's parser if it exists.""" |
| 301 | full_method_name = self._fully_qualified_name(command_method) |
| 302 | if full_method_name in self._parsers: |
| 303 | del self._parsers[full_method_name] |
| 304 | |
| 305 | |
| 306 | @dataclass(kw_only=True) |