Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pybind11
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
pybind11
Commits
6eca083e
Commit
6eca083e
authored
Sep 08, 2016
by
Jason Rhinelander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix doc typo
"trampoline" is doubled in the first sentence.
parent
f217c041
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
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