mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 05:05:11 +00:00
docs: typo in classes.rst (#2926)
This commit is contained in:
parent
0e01c243c7
commit
3df0ee6fe3
@ -259,7 +259,7 @@ override the ``name()`` method):
|
|||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
Note the trailing commas in the ``PYBIND11_OVERIDE`` calls to ``name()``
|
Note the trailing commas in the ``PYBIND11_OVERRIDE`` calls to ``name()``
|
||||||
and ``bark()``. These are needed to portably implement a trampoline for a
|
and ``bark()``. These are needed to portably implement a trampoline for a
|
||||||
function that does not take any arguments. For functions that take
|
function that does not take any arguments. For functions that take
|
||||||
a nonzero number of arguments, the trailing comma must be omitted.
|
a nonzero number of arguments, the trailing comma must be omitted.
|
||||||
|
Loading…
Reference in New Issue
Block a user