Attribute Macro pyo3_macros::pyproto
source · [−]#[pyproto]This is supported on crate feature
pyproto only.Expand description
A proc macro used to implement Python’s dunder methods.
This atribute is required on blocks implementing PyObjectProtocol,
PyNumberProtocol, PyGCProtocol and PyIterProtocol.