Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
6eca083e
Commit
6eca083e
authored
Sep 08, 2016
by
Jason Rhinelander
Browse files
Fix doc typo
"trampoline" is doubled in the first sentence.
parent
f217c041
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
docs/advanced.rst
docs/advanced.rst
+4
-4
No files found.
docs/advanced.rst
View file @
6eca083e
...
@@ -327,10 +327,10 @@ The binding code also needs a few minor adaptations (highlighted):
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment