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

changed arguments for awkward_form #617

Merged
merged 2 commits into from Jun 21, 2022
Merged

Conversation

aryan26roy
Copy link
Collaborator

No description provided.

Copy link
Member

@jpivarski jpivarski left a comment

Choose a reason for hiding this comment

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

Just the two things below.

tobject_header=True,
breadcrumbs=(),
):
context = super()._make_context(
Copy link
Member

Choose a reason for hiding this comment

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

No super(); just self.

Comment on lines 59 to 60
@classmethod
def _make_context(self, context, index_format, header, tobject_header, breadcrumbs):
Copy link
Member

Choose a reason for hiding this comment

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

First argument of a @classmethod must be cls, not self.

But it also doesn't need to be a @classmethod; this could be a @staticmethod with no special first argument.

Copy link
Member

@jpivarski jpivarski left a comment

Choose a reason for hiding this comment

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

This is done. I'll enable auto-(squash-and)-merge!

@jpivarski jpivarski enabled auto-merge (squash) June 21, 2022 21:46
@jpivarski jpivarski merged commit f4ed10b into main Jun 21, 2022
@jpivarski jpivarski deleted the aryan-fixing-interpretation branch June 21, 2022 21:56
@jpivarski jpivarski restored the aryan-fixing-interpretation branch June 21, 2022 21:58
@jpivarski jpivarski deleted the aryan-fixing-interpretation branch June 21, 2022 22:02
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.

None yet

2 participants