From 27c7697f243617e3d7a14ea7639aa37b9a31b3a4 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 7a6073c90..530f1cef1 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; }); }