Skip to content

Python: Fix uses of "implicit this"#6871

Merged
RasmusWL merged 2 commits into
github:mainfrom
tausbn:python-fix-uses-of-implicit-this
Oct 14, 2021
Merged

Python: Fix uses of "implicit this"#6871
RasmusWL merged 2 commits into
github:mainfrom
tausbn:python-fix-uses-of-implicit-this

Conversation

@tausbn

@tausbn tausbn commented Oct 13, 2021

Copy link
Copy Markdown
Contributor

Quoting the style guide:

"14. Always qualify calls to predicates of the same class with this."


No change note required -- this does not affect behaviour.

There are more instances that should be fixed, but many of them are old points-to code that we probably don't want to touch.

@tausbn tausbn added the no-change-note-required This PR does not need a change note label Oct 13, 2021
@tausbn tausbn requested a review from a team as a code owner October 13, 2021 13:41
@tausbn tausbn marked this pull request as draft October 13, 2021 13:42
Quoting the style guide:

"14. _Always_ qualify _calls_ to predicates of the same class with
`this`."
@tausbn tausbn force-pushed the python-fix-uses-of-implicit-this branch from 9516cfe to a611568 Compare October 13, 2021 13:46
@tausbn tausbn marked this pull request as ready for review October 13, 2021 13:48

@RasmusWL RasmusWL left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice 👍

@RasmusWL RasmusWL merged commit a5ab0b9 into github:main Oct 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-change-note-required This PR does not need a change note Python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants