mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 05:05:11 +00:00
Fix typos and docs style (#3088)
* py::pickle typo * correct dots and parentheses
This commit is contained in:
parent
bac5a0c370
commit
cf006af2f0
@ -804,7 +804,7 @@ to bind these two functions:
|
|||||||
}
|
}
|
||||||
));
|
));
|
||||||
|
|
||||||
The ``__setstate__`` part of the ``py::picke()`` definition follows the same
|
The ``__setstate__`` part of the ``py::pickle()`` definition follows the same
|
||||||
rules as the single-argument version of ``py::init()``. The return type can be
|
rules as the single-argument version of ``py::init()``. The return type can be
|
||||||
a value, pointer or holder type. See :ref:`custom_constructors` for details.
|
a value, pointer or holder type. See :ref:`custom_constructors` for details.
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ Frequently asked questions
|
|||||||
===========================================================
|
===========================================================
|
||||||
|
|
||||||
1. Make sure that the name specified in PYBIND11_MODULE is identical to the
|
1. Make sure that the name specified in PYBIND11_MODULE is identical to the
|
||||||
filename of the extension library (without suffixes such as .so)
|
filename of the extension library (without suffixes such as ``.so``).
|
||||||
|
|
||||||
2. If the above did not fix the issue, you are likely using an incompatible
|
2. If the above did not fix the issue, you are likely using an incompatible
|
||||||
version of Python (for instance, the extension library was compiled against
|
version of Python (for instance, the extension library was compiled against
|
||||||
@ -170,7 +170,7 @@ complete independence of the symbols involved when not using
|
|||||||
``-fvisibility=hidden``.
|
``-fvisibility=hidden``.
|
||||||
|
|
||||||
Additionally, ``-fvisibility=hidden`` can deliver considerably binary size
|
Additionally, ``-fvisibility=hidden`` can deliver considerably binary size
|
||||||
savings. (See the following section for more details).
|
savings. (See the following section for more details.)
|
||||||
|
|
||||||
|
|
||||||
.. _`faq:symhidden`:
|
.. _`faq:symhidden`:
|
||||||
|
Loading…
Reference in New Issue
Block a user