From 1ad2227d3c47525b00959b60552667390c02ec22 Mon Sep 17 00:00:00 2001 From: Patrik Huber Date: Mon, 4 Sep 2017 22:00:19 +0100 Subject: [PATCH] Fixed typo in docs [skip ci] --- docs/advanced/classes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/advanced/classes.rst b/docs/advanced/classes.rst index be4bc2e77..c0a9cfa5f 100644 --- a/docs/advanced/classes.rst +++ b/docs/advanced/classes.rst @@ -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: