The pyfrozen class example dosent work #3172
-
Hello Folks, While going through the user guide for the pyclass frozen I see that the code given in the example dosent compile and I get the error
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I think you are looking at the guide for the You can either read the guide for the released version at e.g. https://pyo3.rs/v0.18.3/class.html or build against the main branch using a Git dependency like pyo3 = { git = "https://github.com/PyO3/pyo3.git" } |
Beta Was this translation helpful? Give feedback.
I think you are looking at the guide for the
main
branch as indicated by your link but build against a released version of PyO3, probably 0.18.3?Py::get
was merged only recently and is not yet part of a released version.You can either read the guide for the released version at e.g. https://pyo3.rs/v0.18.3/class.html or build against the main branch using a Git dependency like