Skip to content

Commit 10af980

Browse files
committed
Remove more references to PyPy 5.7 and 5.9 in the docs
1 parent c6e191a commit 10af980

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/advanced/misc.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ avoids this issue involves weak reference with a cleanup callback:
223223

224224
.. code-block:: cpp
225225
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
227227
py::cpp_function cleanup_callback(
228228
[](py::handle weakref) {
229229
// 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:
237237
238238
.. note::
239239

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:
243243

244244
.. code-block:: cpp
245245

0 commit comments

Comments
 (0)