We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 576818d commit 01d8f1eCopy full SHA for 01d8f1e
1 file changed
guide/src/migration.md
@@ -51,6 +51,7 @@ use pyo3::types::PyString;
51
#[pyclass]
52
struct MyClass { }
53
54
+#[pymethods]
55
impl MyClass {
56
fn __str__(&self) -> &'static [u8] {
57
b"hello, world"
0 commit comments