Skip to content
Snippets Groups Projects
Commit 878e6111 authored by Antonio Cuni's avatar Antonio Cuni
Browse files

rewrite this paragraph. We *do* support gc.get_referrers nowadays

parent 2852819d
No related branches found
No related tags found
No related merge requests found
......@@ -72,11 +72,11 @@
with open("filename", "w") as f:
f.write("stuff")
* We don't support certain attributes that were decided to be
implementation-dependent. For example, ``gc.get_referrers`` does not exist.
Others may have different behavior; for example, ``gc.enable`` and
``gc.disable`` are supported, but they don't enable and disable the GC, but
instead just enable and disable the running of finalizers.
* For the same reason, some functions and attributes of the ``gc`` module
behave in a slightly different way: for example, ``gc.enable`` and
``gc.disable`` are supported, but instead of enabling and disabling the GC,
they just enable and disable the execution of finalizers. Also,
``gc.garbage`` always returns an empty list.
* You can't attach a ``__del__`` method to a class after its creation.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment