Skip to content

Commit

Permalink
Fix typos and docs style (pybind#3088)
Browse files Browse the repository at this point in the history
* py::pickle typo

* correct dots and parentheses
  • Loading branch information
Jan Iwaszkiewicz authored Jul 10, 2021
1 parent bac5a0c commit cf006af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/advanced/classes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
a value, pointer or holder type. See :ref:`custom_constructors` for details.

Expand Down
4 changes: 2 additions & 2 deletions docs/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Frequently asked questions
===========================================================

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
version of Python (for instance, the extension library was compiled against
Expand Down Expand Up @@ -170,7 +170,7 @@ complete independence of the symbols involved when not using
``-fvisibility=hidden``.

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`:
Expand Down

0 comments on commit cf006af

Please sign in to comment.