Commit 1ad2227d by Patrik Huber Committed by Dean Moldovan

Fixed typo in docs

[skip ci]
parent b490b44e
...@@ -711,7 +711,7 @@ provided. Suppose the class in question has the following signature: ...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment