# HG changeset patch # User Benjamin Peterson <benjamin@python.org> # Date 1268180590 0 # Wed Mar 10 00:23:10 2010 +0000 # Branch extradoc # Node ID 6d6053b3ef8878a78937451973df8e9cb61d5a81 # Parent c9a9a7cedc59ec7b8acc48f7ee936988bd0ad3e0 clarify diff --git a/compat.html b/compat.html --- a/compat.html +++ b/compat.html @@ -86,9 +86,10 @@ </pre> </li> <li><p class="first">We don't support certain attributes that were decided to be -implementation-dependent. For example <tt class="docutils literal"><span class="pre">gc.get_referrers</span></tt>. <tt class="docutils literal"><span class="pre">gc.enable</span></tt> -and <tt class="docutils literal"><span class="pre">gc.disable</span></tt> are supported, but they don't enable and disable GC, -but instead enable and disable running of finalizers.</p> +implementation-dependent. For example, <tt class="docutils literal"><span class="pre">gc.get_referrers</span></tt> does not exist. +Others may have different behavior; for example, <tt class="docutils literal"><span class="pre">gc.enable</span></tt> and +<tt class="docutils literal"><span class="pre">gc.disable</span></tt> are supported, but they don't enable and disable GC, but +instead enable and disable running of finalizers.</p> </li> <li><p class="first">You can't attach a <tt class="docutils literal"><span class="pre">__del__</span></tt> method to a class after its creation.</p> </li> diff --git a/source/compat.txt b/source/compat.txt --- a/source/compat.txt +++ b/source/compat.txt @@ -49,9 +49,10 @@ f.write("stuff") * We don't support certain attributes that were decided to be - implementation-dependent. For example ``gc.get_referrers``. ``gc.enable`` - and ``gc.disable`` are supported, but they don't enable and disable GC, - but instead enable and disable running of finalizers. + 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 GC, but + instead enable and disable running of finalizers. * You can't attach a ``__del__`` method to a class after its creation.