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

python-mode: Adding missing __next__ special method. #501

Merged

Conversation

JulienPalard
Copy link
Contributor

Looks like there's not a lot of missing methods:

$ grep '^\.\. method:: [a-z]*\.__' ~/src/python/cpython/Doc/reference/datamodel.rst | cut -d. -f4 | cut -d '(' -f1| while read -r dunder; do if ! [[ -f "snippets/python-mode/$dunder" ]] ; then echo "Missing $dunder"; fi; done
Missing __mro_entries__
Missing __buffer__
Missing __release_buffer__

but __next__ was not spotted by this grep... usage will tell us more hopefully :)

@AndreaCrotti AndreaCrotti merged commit 1bf0348 into AndreaCrotti:master Jun 3, 2024
2 checks passed
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.

2 participants