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