[pypy-commit] pypy default: Revert the change in the docstrings (tests fail, and anyway it's better after all)
arigo
pypy.commits at gmail.com
Fri Jan 13 03:47:47 EST 2017
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r89536:eb42c935cc8d
Date: 2017-01-13 09:47 +0100
http://bitbucket.org/pypy/pypy/changeset/eb42c935cc8d/
Log: Revert the change in the docstrings (tests fail, and anyway it's
better after all)
diff --git a/pypy/interpreter/typedef.py b/pypy/interpreter/typedef.py
--- a/pypy/interpreter/typedef.py
+++ b/pypy/interpreter/typedef.py
@@ -483,7 +483,7 @@
return lifeline.get_any_weakref(space)
dict_descr = GetSetProperty(descr_get_dict, descr_set_dict, descr_del_dict,
- doc="dictionary for instance variables")
+ doc="dictionary for instance variables (if defined)")
dict_descr.name = '__dict__'
@@ -515,7 +515,7 @@
return space.newtuple([w_docstring])
weakref_descr = GetSetProperty(descr_get_weakref,
- doc="list of weak references to the object")
+ doc="list of weak references to the object (if defined)")
weakref_descr.name = '__weakref__'
def make_weakref_descr(cls):
More information about the pypy-commit
mailing list