You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.
The return value of __repr__ should look like a valid Python expression that could be passed into eval() to create an object with the same value (or as close as)
Upon some implementation, I'm uncertain that implementing __repr__ for everything is actually useful. The default python one is useful enough, and we cannot test it properly either as it always boils down to an object at a memory address eventually.
The return value of
__repr__
should look like a valid Python expression that could be passed intoeval()
to create an object with the same value (or as close as)https://docs.python.org/3/library/functions.html#repr
The text was updated successfully, but these errors were encountered: