diff --git a/doc/pickle.html b/doc/pickle.html index 7b559e68..ef3d8d0d 100644 --- a/doc/pickle.html +++ b/doc/pickle.html @@ -132,7 +132,7 @@ Both __getinitargs__ and __getstate__ are not defined. this is, e.g.:
-    class_builder py_your_class(your_module, "your_class");
+    class_builder<your_class> py_your_class(your_module, "your_class");
     py_your_class.dict_defines_state();
 
@@ -185,7 +185,7 @@ __getstate__ is defined and the instance's __dict__ is not empty. E.g. in C++:
-    class_builder py_your_class(your_module, "your_class");
+    class_builder<your_class> py_your_class(your_module, "your_class");
     py_your_class.getstate_manages_dict();