1
0
forked from VimPlug/jedi

Use start and end position in repr for simpler debugging.

This commit is contained in:
Matthias Bussonnier
2017-02-13 11:15:54 -08:00
committed by Dave Halter
parent b72aa41019
commit ef1b1f41e4

View File

@@ -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):