Fixed typo in docs

[skip ci]
This commit is contained in:
Patrik Huber 2017-09-04 22:00:19 +01:00 committed by Dean Moldovan
parent b490b44e34
commit 1ad2227d3c

View File

@ -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: