forked from VimPlug/jedi
Use start and end position in repr for simpler debugging.
This commit is contained in:
committed by
Dave Halter
parent
b72aa41019
commit
ef1b1f41e4
@@ -317,7 +317,7 @@ class Leaf(Base):
|
||||
|
||||
@utf8_repr
|
||||
def __repr__(self):
|
||||
return "<%s: %s>" % (type(self).__name__, self.value)
|
||||
return "<%s: %s start=%s>" % (type(self).__name__, self.value, self.start_pos)
|
||||
|
||||
|
||||
class LeafWithNewLines(Leaf):
|
||||
|
||||
Reference in New Issue
Block a user