mirror of
https://github.com/RYDE-WORK/pybind11.git
synced 2026-02-05 06:53:36 +08:00
added note about args/kwargs limitation
This commit is contained in:
parent
f5d00105ce
commit
3764e28475
@ -1546,6 +1546,11 @@ that the ``kwargs`` argument is invalid if no keyword arguments were actually
|
|||||||
provided. Please refer to the other examples for details on how to iterate
|
provided. Please refer to the other examples for details on how to iterate
|
||||||
over these, and on how to cast their entries into C++ objects.
|
over these, and on how to cast their entries into C++ objects.
|
||||||
|
|
||||||
|
.. warning::
|
||||||
|
|
||||||
|
Unlike Python, pybind11 does not allow combining normal parameters with the
|
||||||
|
``args`` / ``kwargs`` special parameters.
|
||||||
|
|
||||||
Partitioning code over multiple extension modules
|
Partitioning code over multiple extension modules
|
||||||
=================================================
|
=================================================
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user