Skip to content

Commit

Permalink
Fix grammar in functions.rst (#4791)
Browse files Browse the repository at this point in the history
The previous sentence had an extra "a" before "several", which isn't right.
  • Loading branch information
kenjitoyama committed Aug 15, 2023
1 parent 80bcd21 commit f47ff32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/advanced/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
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
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
:func:`class_::def` functions. The default policy is
:enum:`return_value_policy::automatic`.
Expand Down

0 comments on commit f47ff32

Please sign in to comment.