Skip to content

Commit b4b67f0

Browse files
authored
Fix typos (#3044)
1 parent cd4b49a commit b4b67f0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/advanced/pycpp/numpy.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ operation on the C++ side:
390390
py::array b = a[py::make_tuple(0, py::ellipsis(), 0)];
391391
392392
.. versionchanged:: 2.6
393-
``py::ellipsis()`` is now also avaliable in Python 2.
393+
``py::ellipsis()`` is now also available in Python 2.
394394

395395
Memory view
396396
===========

docs/compiling.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Your ``pyproject.toml`` file will likely look something like this:
149149
and ``pyproject.toml`` are not even contained in the wheel, so this high
150150
Pip requirement is only for source builds, and will not affect users of
151151
your binary wheels. If you are building SDists and wheels, then
152-
`pypa-build`_ is the recommended offical tool.
152+
`pypa-build`_ is the recommended official tool.
153153

154154
.. _PEP 517: https://www.python.org/dev/peps/pep-0517/
155155
.. _cibuildwheel: https://cibuildwheel.readthedocs.io
@@ -411,7 +411,7 @@ existing targets instead:
411411

412412
.. code-block:: cmake
413413
414-
cmake_minumum_required(VERSION 3.15...3.19)
414+
cmake_minimum_required(VERSION 3.15...3.19)
415415
project(example LANGUAGES CXX)
416416
417417
find_package(Python COMPONENTS Interpreter Development REQUIRED)
@@ -516,7 +516,7 @@ Instead of setting properties, you can set ``CMAKE_*`` variables to initialize t
516516
compiler flags are provided to ensure high quality code generation. In
517517
contrast to the ``pybind11_add_module()`` command, the CMake interface
518518
provides a *composable* set of targets to ensure that you retain flexibility.
519-
It can be expecially important to provide or set these properties; the
519+
It can be especially important to provide or set these properties; the
520520
:ref:`FAQ <faq:symhidden>` contains an explanation on why these are needed.
521521

522522
.. versionadded:: 2.6

0 commit comments

Comments
 (0)