Skip to content

Commit 502de12

Browse files
committed
Refine __repr__ output for ServiceStringAdvice
1 parent d716214 commit 502de12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydifact/control/characters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def __str__(self) -> str:
127127
)
128128

129129
def __repr__(self):
130-
return f"'{self.__str__()}'"
130+
return f" ServiceStringAdvice: '{str(self)}'"
131131

132132
def __eq__(self, other):
133133
if isinstance(other, str):

0 commit comments

Comments
 (0)