[pypy-commit] pypy default: add a note about special methods

fijal noreply at buildbot.pypy.org
Tue Jan 10 20:19:34 CET 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r51212:cc4956b9891d
Date: 2012-01-10 15:02 +0200
http://bitbucket.org/pypy/pypy/changeset/cc4956b9891d/

Log:	add a note about special methods

diff --git a/pypy/doc/coding-guide.rst b/pypy/doc/coding-guide.rst
--- a/pypy/doc/coding-guide.rst
+++ b/pypy/doc/coding-guide.rst
@@ -341,7 +341,8 @@
 
 **objects**
 
-  Normal rules apply.
+  Normal rules apply. Special methods are not honoured, except ``__init__`` and
+  ``__del__``.
 
 This layout makes the number of types to take care about quite limited.
 


More information about the pypy-commit mailing list