mirror of
https://github.com/RYDE-WORK/pybind11.git
synced 2026-02-04 22:46:15 +08: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…
x
Reference in New Issue
Block a user