Skip to content

fix: classmethods inject cls instead of self, exclude pyo3 cls receiver#9

Merged
monchin merged 4 commits into
masterfrom
fix/classmethod-should-not-use-self
Jun 14, 2026
Merged

fix: classmethods inject cls instead of self, exclude pyo3 cls receiver#9
monchin merged 4 commits into
masterfrom
fix/classmethod-should-not-use-self

Conversation

@monchin

@monchin monchin commented Jun 14, 2026

Copy link
Copy Markdown
Owner

Description

Fix the bug that classmethod would inject self as its first param name

Type of change

  • Bug fix
  • New feature
  • Documentation
  • Refactor / chore

Checklist

  • Code follows the project style (cargo fmt, cargo clippy).
  • Self-review done.
  • Comments and docs are in English.
  • Pre-commit checks pass (prek run --all-files or equivalent).
  • CI passes (build, test, lint on Ubuntu, Windows, macOS).

@monchin monchin merged commit ed98077 into master Jun 14, 2026
0 of 9 checks passed
@monchin monchin deleted the fix/classmethod-should-not-use-self branch June 14, 2026 10:46
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.

1 participant