File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ avoids this issue involves weak reference with a cleanup callback:
223
223
224
224
.. code-block :: cpp
225
225
226
- // Register a callback function that is invoked when the BaseClass object is colelcted
226
+ // Register a callback function that is invoked when the BaseClass object is collected
227
227
py::cpp_function cleanup_callback(
228
228
[](py::handle weakref) {
229
229
// perform cleanup here -- this function is called with the GIL held
@@ -237,9 +237,9 @@ avoids this issue involves weak reference with a cleanup callback:
237
237
238
238
.. note ::
239
239
240
- PyPy (at least version 5.9) does not garbage collect objects when the
241
- interpreter exits. An alternative approach (which also works on CPython) is to use
242
- the :py:mod: ` atexit ` module [ #f7 ]_, for example:
240
+ PyPy does not garbage collect objects when the interpreter exits. An alternative
241
+ approach (which also works on CPython) is to use the :py:mod: ` atexit ` module [ #f7 ]_,
242
+ for example:
243
243
244
244
.. code-block :: cpp
245
245
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ become an excessively large and unnecessary dependency.
20
20
Think of this library as a tiny self-contained version of Boost.Python with
21
21
everything stripped away that isn't relevant for binding generation. Without
22
22
comments, the core header files only require ~4K lines of code and depend on
23
- Python (2.7 or 3.x, or PyPy2.7 >= 5.7 ) and the C++ standard library. This
23
+ Python (2.7 or 3.x, or PyPy2.7 >= 7.3 ) and the C++ standard library. This
24
24
compact implementation was possible thanks to some of the new C++11 language
25
25
features (specifically: tuples, lambda functions and variadic templates). Since
26
26
its creation, this library has grown beyond Boost.Python in many ways, leading
@@ -49,7 +49,7 @@ Goodies
49
49
*******
50
50
In addition to the core functionality, pybind11 provides some extra goodies:
51
51
52
- - Python 2.7, 3.x, and PyPy (PyPy2.7 >= 5.7 ) are supported with an
52
+ - Python 2.7, 3.x, and PyPy (PyPy2.7 >= 7.3 ) are supported with an
53
53
implementation-agnostic interface.
54
54
55
55
- It is possible to bind C++11 lambda functions with captured variables. The
You can’t perform that action at this time.
0 commit comments