Fix doc typo

"trampoline" is doubled in the first sentence.
This commit is contained in:
Jason Rhinelander 2016-09-08 13:25:45 -04:00
parent f217c04195
commit 6eca083e4c

View File

@ -327,10 +327,10 @@ The binding code also needs a few minor adaptations (highlighted):
return m.ptr(); return m.ptr();
} }
Importantly, pybind11 is made aware of the trampoline trampoline helper class Importantly, pybind11 is made aware of the trampoline helper class by
by specifying it as an extra template argument to :class:`class_`. (This can specifying it as an extra template argument to :class:`class_`. (This can also
also be combined with other template arguments such as a custom holder type; be combined with other template arguments such as a custom holder type; the
the order of template types does not matter). Following this, we are able to order of template types does not matter). Following this, we are able to
define a constructor as usual. define a constructor as usual.
Note, however, that the above is sufficient for allowing python classes to Note, however, that the above is sufficient for allowing python classes to