[pypy-commit] pypy default: Expand the example
arigo
noreply at buildbot.pypy.org
Thu Apr 10 11:28:02 CEST 2014
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r70533:7ddd3c163570
Date: 2014-04-10 11:27 +0200
http://bitbucket.org/pypy/pypy/changeset/7ddd3c163570/
Log: Expand the example
diff --git a/pypy/doc/cpython_differences.rst b/pypy/doc/cpython_differences.rst
--- a/pypy/doc/cpython_differences.rst
+++ b/pypy/doc/cpython_differences.rst
@@ -321,8 +321,8 @@
tools that inspect built-in types. For example, the standard
library ``inspect`` module has a function ``ismethod()`` that returns
True on unbound method objects but False on method-wrappers or slot
- wrappers. On PyPy we can't tell the difference, and so
- ``ismethod([].__add__)`` has to return True.
+ wrappers. On PyPy we can't tell the difference, so
+ ``ismethod([].__add__) == ismethod(list.__add__) == True``.
* the ``__dict__`` attribute of new-style classes returns a normal dict, as
opposed to a dict proxy like in CPython. Mutating the dict will change the
More information about the pypy-commit
mailing list