We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c2b8353 + 9a08d54 commit 7197b7fCopy full SHA for 7197b7f
1 file changed
obd/OBDCommand.py
@@ -114,6 +114,9 @@ def __constrain_message_data(self, message):
114
115
def __str__(self):
116
return "%s: %s" % (self.command, self.desc)
117
+
118
+ def __repr(self):
119
+ return "OBDCommand(%s, %s)" % (self.name, self.command)
120
121
def __hash__(self):
122
# needed for using commands as keys in a dict (see async.py)
0 commit comments