Skip to content

Commit

Permalink
Include expanded_from in source.Range.__repr__.
Browse files Browse the repository at this point in the history
  • Loading branch information
whitequark committed Aug 27, 2015
1 parent a894981 commit 6d74932
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pythonparser/source.py
Expand Up @@ -84,8 +84,8 @@ def __repr__(self):
"""
Returns a human-readable representation of this range.
"""
return "Range(\"%s\", %d, %d)" % \
(self.source_buffer.name, self.begin_pos, self.end_pos)
return "Range(\"%s\", %d, %d, %s)" % \
(self.source_buffer.name, self.begin_pos, self.end_pos, repr(self.expanded_from))

def chain(self, expanded_from):
"""
Expand Down

0 comments on commit 6d74932

Please sign in to comment.