Skip to content

Commit a0657e6

Browse files
committed
include the id of References in the repr, since it's relevant.
1 parent b0c9b08 commit a0657e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

effect/ref.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def modify(self, transformer):
5151
return Effect(ModifyReference(ref=self, transformer=transformer))
5252

5353
def __repr__(self):
54-
return "<Reference({})>".format(self._value)
54+
return "<Reference({}) at 0x{:x}>".format(self._value, id(self))
5555

5656

5757
@attr.s

0 commit comments

Comments
 (0)