Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Ensure pymethod cannot be both magic and named simultaneously + macro documentation #5538

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

Merged
merged 6 commits into from
Feb 22, 2025

Conversation

arihant2math
Copy link
Collaborator

Originally, this would ignore the magic, which is counterintuitive, so it now just throws an error (nothing relies on this, so I think a hard error should be fine). I also documented pyclass and pymodule with API docs which cover almost everything.
The docs here are mostly just highly specific documentation for every argument and use case. https://github.com/RustPython/RustPython/wiki/Python-Attributes is currently a high level overview and can now be more geared towards that.

It would be nice if the docs for the main branch could be deployed using github pages to display them for users, since the current docs.rs content is highly out of date.

… confusion

Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
@arihant2math arihant2math changed the title Ensure pymethod cannot be magic and named simultaneously + macro documentation Ensure pymethod cannot be both magic and named simultaneously + macro documentation Feb 21, 2025
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
Copy link
Member

@youknowone youknowone left a comment

Choose a reason for hiding this comment

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

👍

@youknowone youknowone merged commit d698b28 into RustPython:main Feb 22, 2025
11 checks passed
@arihant2math arihant2math deleted the docs branch February 22, 2025 08:22
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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.