Author: Armin Rigo <[email protected]>
Branch: stm-gc
Changeset: r54561:5caa1edd8f86
Date: 2012-04-20 09:47 +0200
http://bitbucket.org/pypy/pypy/changeset/5caa1edd8f86/

Log:    Fix comment.

diff --git a/pypy/rpython/memory/gc/stmshared.py 
b/pypy/rpython/memory/gc/stmshared.py
--- a/pypy/rpython/memory/gc/stmshared.py
+++ b/pypy/rpython/memory/gc/stmshared.py
@@ -27,8 +27,8 @@
         self.chained_list = NULL
 
     def malloc_object(self, totalsize):
-        """Malloc.  You must also call add_regular() or add_special() later.
-        Note that it is not zero-filled."""
+        """Malloc.  You should also call add_regular() later, or keep it in
+        some other data structure.  Note that it is not zero-filled."""
         adr1 = llarena.arena_malloc(llmemory.raw_malloc_usage(totalsize), 0)
         llarena.arena_reserve(adr1, totalsize)
         return adr1 + self.gc.gcheaderbuilder.size_gc_header
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to