File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ copying to take place:
259
259
"small"_a // <- This one can be copied if needed
260
260
);
261
261
262
- With the above binding code, attempting to call the the ``some_method(m) ``
262
+ With the above binding code, attempting to call the ``some_method(m) ``
263
263
method on a ``MyClass `` object, or attempting to call ``some_function(m, m2) ``
264
264
will raise a ``RuntimeError `` rather than making a temporary copy of the array.
265
265
It will, however, allow the ``m2 `` argument to be copied into a temporary if
Original file line number Diff line number Diff line change @@ -388,7 +388,7 @@ that will be respected instead of the built-in flag search.
388
388
389
389
The ``OPT_SIZE `` flag enables size-based optimization equivalent to the
390
390
standard ``/Os `` or ``-Os `` compiler flags and the ``MinSizeRel `` build type,
391
- which avoid optimizations that that can substantially increase the size of the
391
+ which avoid optimizations that can substantially increase the size of the
392
392
resulting binary. This flag is particularly useful in projects that are split
393
393
into performance-critical parts and associated bindings. In this case, we can
394
394
compile the project in release mode (and hence, optimize performance globally),
@@ -719,7 +719,7 @@ customizable pybind11-based wrappers by parsing C++ header files.
719
719
720
720
[litgen ]_ is an automatic python bindings generator with a focus on generating
721
721
documented and discoverable bindings: bindings will nicely reproduce the documentation
722
- found in headers. It is is based on srcML (srcml.org), a highly scalable, multi-language
722
+ found in headers. It is based on srcML (srcml.org), a highly scalable, multi-language
723
723
parsing tool with a developer centric approach. The API that you want to expose to python
724
724
must be C++14 compatible (but your implementation can use more modern constructs).
725
725
Original file line number Diff line number Diff line change @@ -554,7 +554,7 @@ enum class return_value_policy : uint8_t {
554
554
object without taking ownership similar to the above
555
555
return_value_policy::reference policy. In contrast to that policy, the
556
556
function or property's implicit this argument (called the parent) is
557
- considered to be the the owner of the return value (the child).
557
+ considered to be the owner of the return value (the child).
558
558
pybind11 then couples the lifetime of the parent to the child via a
559
559
reference relationship that ensures that the parent cannot be garbage
560
560
collected while Python is still using the child. More advanced
You can’t perform that action at this time.
0 commit comments