Skip to content

Commit

Permalink
Debug print of a segment.
Browse files Browse the repository at this point in the history
  • Loading branch information
eerimoq committed Oct 4, 2018
1 parent a0046b4 commit c17338b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bincopy.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ def __iter__(self):
yield self.address
yield self.data

def __str__(self):
def __repr__(self):
return 'Segment(address={}, data={})'.format(self.address,
self.data)

Expand Down

0 comments on commit c17338b

Please sign in to comment.