From 6eca083e4c8c08975e2aff88aade39cb609f89ac Mon Sep 17 00:00:00 2001 From: Jason Rhinelander Date: Thu, 8 Sep 2016 13:25:45 -0400 Subject: [PATCH] Fix doc typo "trampoline" is doubled in the first sentence. --- docs/advanced.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/advanced.rst b/docs/advanced.rst index 382fdf3e9..8e1f7c3fd 100644 --- a/docs/advanced.rst +++ b/docs/advanced.rst @@ -327,10 +327,10 @@ The binding code also needs a few minor adaptations (highlighted): return m.ptr(); } -Importantly, pybind11 is made aware of the trampoline trampoline helper class -by specifying it as an extra template argument to :class:`class_`. (This can -also be combined with other template arguments such as a custom holder type; -the order of template types does not matter). Following this, we are able to +Importantly, pybind11 is made aware of the trampoline helper class by +specifying it as an extra template argument to :class:`class_`. (This can also +be combined with other template arguments such as a custom holder type; the +order of template types does not matter). Following this, we are able to define a constructor as usual. Note, however, that the above is sufficient for allowing python classes to