Skip to content

Conversation

@stefanv
Copy link
Contributor

@stefanv stefanv commented Oct 13, 2015

At the moment, a person needs to type print(t) every time you want to see what's going on inside a table, which gets rather tedious.

This patch proposes to set __repr__ to `str`` so that you get a more useful representation by default.

@SamLau95
Copy link
Contributor

Cool! I like this.

SamLau95 added a commit that referenced this pull request Oct 13, 2015
Use __str__ as default __repr__
@SamLau95 SamLau95 merged commit d33cdab into data-8:master Oct 13, 2015
@mDibyo
Copy link
Contributor

mDibyo commented Oct 18, 2015

this looks good. Will make the change to #125.

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.

3 participants