Skip to content

Clean up some more Python 2-isms#942

Merged
hynek merged 2 commits intopython-attrs:mainfrom
wbolster:minor-py2-cleanups
Mar 21, 2022
Merged

Clean up some more Python 2-isms#942
hynek merged 2 commits intopython-attrs:mainfrom
wbolster:minor-py2-cleanups

Conversation

@wbolster
Copy link
Copy Markdown
Member

  • Reword and simplify a few docstrings.
  • Add back a test for 2-arg super() in property() definitions that
    was (accidentally?) dropped in Drop Python 2.7 #936.

@wbolster wbolster requested a review from hynek March 21, 2022 11:18
- Reword and simplify a few docstrings.
- Add back a test for 2-arg super() in property() definitions that
  was (accidentally?) dropped in python-attrs#936.
@wbolster wbolster force-pushed the minor-py2-cleanups branch from 76c9bc3 to af40626 Compare March 21, 2022 12:33
@hynek hynek merged commit d785c65 into python-attrs:main Mar 21, 2022
@hynek
Copy link
Copy Markdown
Member

hynek commented Mar 21, 2022

Thanks, that super thing was pyupgrade. Fortunately the other super call is also in test_slots that I've blocked in pre-commit.

@wbolster wbolster deleted the minor-py2-cleanups branch March 21, 2022 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants