mdickinson / refcycle

Support for displaying and analyzing reference graphs of Python objects.
Apache License 2.0
15 stars 1 forks source link

Add suitable __repr__ and __str__ to ElementTransformSet and KeyTransformDict #20

Open mdickinson opened 10 years ago

mdickinson commented 10 years ago

The ElementTransformSet should have a __repr__ implementation that includes the contents of the set. Without this, the set of vertices of an ObjectGraph looks rather opaque. While we're here, we might as well also add a better __repr__ to the KeyTransformDict.