Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the repr to work for non-redecorated subclass. #20

Merged
merged 1 commit into from
Jul 22, 2015

Conversation

cyli
Copy link
Contributor

@cyli cyli commented Jul 21, 2015

Currently, if you subclass an @attr.s-decorated class without re-decorating with another @attr.s, the repr displays the name of the superclass, not the subclass.

…e subclass, not the superclass, even if you don't redecorate with another @attr.s
@codecov-io
Copy link

Current coverage is 100.0%

Merging #20 into master will not affect coverage as of 17e5460

@@            master     #20   diff @@
======================================
  Files            6       6       
  Stmts          299     299       
  Branches        59      59       
  Methods          0       0       
======================================
  Hit            299     299       
  Partial          0       0       
  Missed           0       0       

Review entire Coverage Diff

Powered by Codecov

hynek added a commit that referenced this pull request Jul 22, 2015
Fix the repr to work for non-redecorated subclass.
@hynek hynek merged commit c6e2f1f into python-attrs:master Jul 22, 2015
@hynek
Copy link
Member

hynek commented Jul 22, 2015

Thanks!

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