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
f47ff328
Unverified
Commit
f47ff328
authored
Aug 15, 2023
by
Kenji
Committed by
GitHub
Aug 15, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix grammar in functions.rst (#4791)
The previous sentence had an extra "a" before "several", which isn't right.
parent
80bcd21f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
docs/advanced/functions.rst
+1
-1
No files found.
docs/advanced/functions.rst
View file @
f47ff328
...
@@ -16,7 +16,7 @@ lifetime of objects managed by them. This can lead to issues when creating
...
@@ -16,7 +16,7 @@ lifetime of objects managed by them. This can lead to issues when creating
bindings for functions that return a non-trivial type. Just by looking at the
bindings for functions that return a non-trivial type. Just by looking at the
type information, it is not clear whether Python should take charge of the
type information, it is not clear whether Python should take charge of the
returned value and eventually free its resources, or if this is handled on the
returned value and eventually free its resources, or if this is handled on the
C++ side. For this reason, pybind11 provides
a
several *return value policy*
C++ side. For this reason, pybind11 provides several *return value policy*
annotations that can be passed to the :func:`module_::def` and
annotations that can be passed to the :func:`module_::def` and
:func:`class_::def` functions. The default policy is
:func:`class_::def` functions. The default policy is
:enum:`return_value_policy::automatic`.
:enum:`return_value_policy::automatic`.
...
...
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