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
9c0aa699
Unverified
Commit
9c0aa699
authored
Feb 25, 2021
by
Tom de Geus
Committed by
GitHub
Feb 25, 2021
Browse files
Pointing out namespace in docs (#2874)
parent
e2e819b2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
docs/advanced/functions.rst
docs/advanced/functions.rst
+1
-1
No files found.
docs/advanced/functions.rst
View file @
9c0aa699
...
@@ -50,7 +50,7 @@ implied transfer of ownership, i.e.:
...
@@ -50,7 +50,7 @@ implied transfer of ownership, i.e.:
.. code-block:: cpp
.. code-block:: cpp
m.def("get_data", &get_data, return_value_policy::reference);
m.def("get_data", &get_data,
py::
return_value_policy::reference);
On the other hand, this is not the right policy for many other situations,
On the other hand, this is not the right policy for many other situations,
where ignoring ownership could lead to resource leaks.
where ignoring ownership could lead to resource leaks.
...
...
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