Doc Improvements: `IntoPyObject` actually supports `item` / `attribute` attributes
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 16.2k
- Forks
- 1k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 66
Description
I’ve confirmed through the source code and #5070 that the IntoPyObject derive macro supports the same field attributes as FromPyObject.
However, the doc only mentions these under the FromPyObject section, making it look like IntoPyObject is not customizable.
As I'm still new to PyO3, I'd prefer if someone more experienced handled the documentation update to ensure all technical details are correct.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the conversions/traits documentation linked in the issue, then compare its FromPyObject field-attribute section with the IntoPyObject derive behavior in the source and issue #5070. Update the documentation so IntoPyObject's support for item and attribute attributes is explicit, and confirm the technical details match the implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100