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

Fix callable accessor names #132

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kmnhan
Copy link

@kmnhan kmnhan commented Nov 15, 2024

Currently, the extension will break the name of callable accessors if it ends with c, a, or l, since .__call__ is removed with str.rstrip. This PR fixes this by replacing it with str.removesuffix.

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