diff docs/rendered/index.html @ 85:e9f450d30c0e

Added more documentation.
author Atul Varma <varmaa@toolness.com>
date Sun, 09 Aug 2009 15:37:29 -0700
parents fabd3f2271fa
children e455f0f00e98
line wrap: on
line diff
--- a/docs/rendered/index.html	Sun Aug 09 15:18:33 2009 -0700
+++ b/docs/rendered/index.html	Sun Aug 09 15:37:29 2009 -0700
@@ -123,12 +123,14 @@
 pymonkey can be really usable. Here&#8217;s some of them.</p>
 <p><strong>Garbage Collection</strong></p>
 <p>Python&#8217;s garbage collection uses reference counting, whereas
-SpiderMonkey&#8217;s is mark-and-sweep. We&#8217;ll likely run into situations
-where there are cycles that exist between SpiderMonkey and Python
-objects; this is actually quite similar to the relationship between
-XPCOM and JavaScript in the Mozilla platform&#8211;XPCOM uses reference
-counting too&#8211;so detecting such cycles will probably involve creating
-something akin to <a class="reference" href="https://developer.mozilla.org/en/Interfacing_with_the_XPCOM_cycle_collector">XPCOM&#8217;s cycle collector</a>.</p>
+SpiderMonkey&#8217;s is mark-and-sweep. It&#8217;s possible for there to be
+situations where there are cycles that exist between SpiderMonkey and
+Python objects; this is actually quite similar to the relationship
+between XPCOM and JavaScript in the Mozilla platform&#8211;XPCOM uses
+reference counting too&#8211;so detecting such cycles will probably involve
+creating something akin to <a class="reference" href="https://developer.mozilla.org/en/Interfacing_with_the_XPCOM_cycle_collector">XPCOM&#8217;s cycle collector</a>.</p>
+<p>For the time being, however, such cycles can be manually broken via
+<a title="pymonkey.Context.clear_object_private" class="reference" href="pymonkey.html#pymonkey.Context.clear_object_private"><tt class="xref docutils literal"><span class="pre">pymonkey.Context.clear_object_private()</span></tt></a> on valid objects and functions.</p>
 </div>
 <div class="section" id="indices-and-tables">
 <h2>Indices and Tables<a class="headerlink" href="#indices-and-tables" title="Permalink to this headline">ΒΆ</a></h2>