Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

hugovk
Copy link
Member

@hugovk hugovk commented Aug 18, 2021

And upgrade Python syntax with pyupgrade --py36-plus.

Copy link
Member

@FFY00 FFY00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!


def __contains__(self, other):
return super(FoldedCase, self).lower().__contains__(other.lower())
return super().lower().__contains__(other.lower())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Applied this and the following change also in jaraco/jaraco.text@4725b7f.

@jaraco jaraco merged commit 2be3507 into python:main Aug 26, 2021
@hugovk hugovk deleted the upgrade-syntax branch August 26, 2021 07:39
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