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

Remove unused attributes #1292

Merged
merged 2 commits into from
Feb 19, 2025
Merged

Remove unused attributes #1292

merged 2 commits into from
Feb 19, 2025

Conversation

st0012
Copy link
Member

@st0012 st0012 commented Feb 17, 2025

I think these attribute declarations are not necessary. Please review by commits.

Unverified

This user has not yet uploaded their public signing key.

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
…used

- `MethodAttr` is a superclass of `AnyMethod` and `Attr`
- `AnyMethod` defineds its own `param_seq` method so this is redundant
  for it
- The only place that calls `param_seq` is in `Darkfish`'s class page,
  which only calls it on `AnyMethod` as `Attr` is rendered in a different
  section
  - It doesn't really make sense for attributes to have a param_seq
    anyway
Copy link
Member

@kou kou left a comment

Choose a reason for hiding this comment

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

+1

@st0012 st0012 merged commit 22735a7 into master Feb 19, 2025
51 checks passed
@st0012 st0012 deleted the remove-unused-attributes branch February 19, 2025 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants