Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pybind11
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
pybind11
Commits
b4b67f02
Unverified
Commit
b4b67f02
authored
Jun 17, 2021
by
Aaron Gokaslan
Committed by
GitHub
Jun 17, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos (#3044)
parent
cd4b49a2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
docs/advanced/pycpp/numpy.rst
+1
-1
docs/compiling.rst
+3
-3
No files found.
docs/advanced/pycpp/numpy.rst
View file @
b4b67f02
...
@@ -390,7 +390,7 @@ operation on the C++ side:
...
@@ -390,7 +390,7 @@ operation on the C++ side:
py::array b = a[py::make_tuple(0, py::ellipsis(), 0)];
py::array b = a[py::make_tuple(0, py::ellipsis(), 0)];
.. versionchanged:: 2.6
.. versionchanged:: 2.6
``py::ellipsis()`` is now also ava
li
able in Python 2.
``py::ellipsis()`` is now also ava
il
able in Python 2.
Memory view
Memory view
===========
===========
...
...
docs/compiling.rst
View file @
b4b67f02
...
@@ -149,7 +149,7 @@ Your ``pyproject.toml`` file will likely look something like this:
...
@@ -149,7 +149,7 @@ Your ``pyproject.toml`` file will likely look something like this:
and ``pyproject.toml`` are not even contained in the wheel, so this high
and ``pyproject.toml`` are not even contained in the wheel, so this high
Pip requirement is only for source builds, and will not affect users of
Pip requirement is only for source builds, and will not affect users of
your binary wheels. If you are building SDists and wheels, then
your binary wheels. If you are building SDists and wheels, then
`pypa-build`_ is the recommended offical tool.
`pypa-build`_ is the recommended offic
i
al tool.
.. _PEP 517: https://www.python.org/dev/peps/pep-0517/
.. _PEP 517: https://www.python.org/dev/peps/pep-0517/
.. _cibuildwheel: https://cibuildwheel.readthedocs.io
.. _cibuildwheel: https://cibuildwheel.readthedocs.io
...
@@ -411,7 +411,7 @@ existing targets instead:
...
@@ -411,7 +411,7 @@ existing targets instead:
.. code-block:: cmake
.. code-block:: cmake
cmake_min
u
mum_required(VERSION 3.15...3.19)
cmake_min
i
mum_required(VERSION 3.15...3.19)
project(example LANGUAGES CXX)
project(example LANGUAGES CXX)
find_package(Python COMPONENTS Interpreter Development REQUIRED)
find_package(Python COMPONENTS Interpreter Development REQUIRED)
...
@@ -516,7 +516,7 @@ Instead of setting properties, you can set ``CMAKE_*`` variables to initialize t
...
@@ -516,7 +516,7 @@ Instead of setting properties, you can set ``CMAKE_*`` variables to initialize t
compiler flags are provided to ensure high quality code generation. In
compiler flags are provided to ensure high quality code generation. In
contrast to the ``pybind11_add_module()`` command, the CMake interface
contrast to the ``pybind11_add_module()`` command, the CMake interface
provides a *composable* set of targets to ensure that you retain flexibility.
provides a *composable* set of targets to ensure that you retain flexibility.
It can be e
x
pecially important to provide or set these properties; the
It can be e
s
pecially important to provide or set these properties; the
:ref:`FAQ <faq:symhidden>` contains an explanation on why these are needed.
:ref:`FAQ <faq:symhidden>` contains an explanation on why these are needed.
.. versionadded:: 2.6
.. versionadded:: 2.6
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment