mirror of
https://github.com/boostorg/python.git
synced 2026-01-22 17:32:55 +00:00
class_builder<your_class> -> class_builder<your_class>
[SVN r9484]
This commit is contained in:
@@ -132,7 +132,7 @@ Both __getinitargs__ and __getstate__ are not defined.
|
||||
this is, e.g.:
|
||||
|
||||
<pre>
|
||||
class_builder<your_class> py_your_class(your_module, "your_class");
|
||||
class_builder<your_class> py_your_class(your_module, "your_class");
|
||||
py_your_class.dict_defines_state();
|
||||
</pre>
|
||||
|
||||
@@ -185,7 +185,7 @@ __getstate__ is defined and the instance's __dict__ is not empty.
|
||||
E.g. in C++:
|
||||
|
||||
<pre>
|
||||
class_builder<your_class> py_your_class(your_module, "your_class");
|
||||
class_builder<your_class> py_your_class(your_module, "your_class");
|
||||
py_your_class.getstate_manages_dict();
|
||||
</pre>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user