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
4f9ee6e4
Commit
4f9ee6e4
authored
May 26, 2017
by
Jason Rhinelander
Browse files
Fix exception reference error
:exc: isn't valid.
parent
39b9e04b
Changes
1
Hide 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 @
4f9ee6e4
...
...
@@ -432,7 +432,7 @@ To explicitly enable or disable this behaviour, using the
}, py::arg("cat").none(false));
With the above, the Python call ``bark(None)`` will return the string ``"(no
dog)"``, while attempting to call ``meow(None)`` will
throw a :exc:
`TypeError`:
dog)"``, while attempting to call ``meow(None)`` will
raise a `
`TypeError`
`
:
.. code-block:: pycon
...
...
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