Skip to content

Conversation

@peterjc
Copy link

@peterjc peterjc commented Sep 21, 2018

The existing str method defines what is superficially a Python snippet which could recreate the object - and captures the key attributes.

This follows the style elsewhere in this file of using the same output for str and repr methods, and is useful when exploring the data interactively at the Python prompt, or in debugging logged messages.

The existing __str__ method defines what is superficially
a Python snippet which could recreate the object - and
captures the key attributes.

This follows the style elsewhere in this file of using
the same output for __str__ and __repr__ methods.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant