[pypy-svn] pypy default: Make a docstring real english.

alex_gaynor commits-noreply at bitbucket.org
Sun Jan 2 18:52:36 CET 2011


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: 
Changeset: r40329:da2bfe60b729
Date: 2011-01-02 11:52 -0600
http://bitbucket.org/pypy/pypy/changeset/da2bfe60b729/

Log:	Make a docstring real english.

diff --git a/pypy/module/_weakref/interp__weakref.py b/pypy/module/_weakref/interp__weakref.py
--- a/pypy/module/_weakref/interp__weakref.py
+++ b/pypy/module/_weakref/interp__weakref.py
@@ -180,9 +180,8 @@
 reprdescr = interp2app(descr__repr__, unwrap_spec=[ObjSpace, W_WeakrefBase])
 
 W_Weakref.typedef = TypeDef("weakref",
-    __doc__ = """A weak reference to an object 'obj'.  A 'callback' can given,
-which is called with the weak reference as an argument when 'obj'
-is about to be finalized.""",
+    __doc__ = """A weak reference to an object 'obj'.  A 'callback' can be given,
+which is called with 'obj' as an argument when it is about to be finalized.""",
     __new__ = interp2app(descr__new__weakref,
                          unwrap_spec=[ObjSpace, W_Root, W_Root, W_Root,
                                       Arguments]),


More information about the Pypy-commit mailing list