From 307ea6b7fdc77ae6d42ac71fef74ff6924498e58 Mon Sep 17 00:00:00 2001 From: David Caron Date: Tue, 24 Apr 2018 10:16:18 -0400 Subject: [PATCH] Typo --- docs/faq.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/faq.rst b/docs/faq.rst index 67b15129c..dc2b97618 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -116,7 +116,7 @@ following example: .. code-block:: cpp - void init_ex1(py::module &m) { + void init_ex2(py::module &m) { m.def("sub", [](int a, int b) { return a - b; }); }