We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 42ca48a + 74a8b32 commit d9ccc98Copy full SHA for d9ccc98
1 file changed
guide/src/class.md
@@ -131,7 +131,7 @@ assert_eq!(obj_ref.num, 1);
131
132
The `#[pyclass]` macro accepts the following parameters:
133
134
-* `name=XXX` - Set the class name shown in Python code. By default, the struct name is used as the class name.
+* `name="XXX"` - Set the class name shown in Python code. By default, the struct name is used as the class name.
135
* `freelist=XXX` - The `freelist` parameter adds support of free allocation list to custom class.
136
The performance improvement applies to types that are often created and deleted in a row,
137
so that they can benefit from a freelist. `XXX` is a number of items for the free list.
0 commit comments