Browse Source

Fixed typo in docs

[skip ci]
pull/1064/head
Patrik Huber 8 years ago committed by Dean Moldovan
parent
commit
1ad2227d3c
  1. 2
      docs/advanced/classes.rst

2
docs/advanced/classes.rst

@ -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;
};
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()``
to bind these two functions:

Loading…
Cancel
Save