Small tweak to how repr() of Formatless() displays
This commit is contained in:
parent
63025af311
commit
0435404ec3
1 changed files with 1 additions and 2 deletions
|
@ -73,8 +73,7 @@ class Formatless(IMatchResponseParam):
|
|||
def __init__(self, value: TYPE_MAYBELIT_VALUE):
|
||||
self._value = _assure_lit(value)
|
||||
def __repr__(self) -> str:
|
||||
brepr = super().__repr__()
|
||||
return f"Formatless({brepr})"
|
||||
return f"Formatless({self._value!r})"
|
||||
def match(self, server: IServer, arg: str) -> bool:
|
||||
strip = formatting.strip(arg)
|
||||
return self._value.match(server, strip)
|
||||
|
|
Loading…
Add table
Reference in a new issue