Attribute Macro pyo3::proc_macro::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
.