mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-25 14:45:12 +00:00
Fixed typo in docs
[skip ci]
This commit is contained in:
parent
b490b44e34
commit
1ad2227d3c
@ -711,7 +711,7 @@ provided. Suppose the class in question has the following signature:
|
|||||||
int m_extra = 0;
|
int m_extra = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
Pickling support in Python is enable by defining the ``__setstate__`` and
|
Pickling support in Python is enabled by defining the ``__setstate__`` and
|
||||||
``__getstate__`` methods [#f3]_. For pybind11 classes, use ``py::pickle()``
|
``__getstate__`` methods [#f3]_. For pybind11 classes, use ``py::pickle()``
|
||||||
to bind these two functions:
|
to bind these two functions:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user