Author: Alex Gaynor <[email protected]>
Branch:
Changeset: r73129:14b8d76b9d53
Date: 2014-08-28 16:14 -0700
http://bitbucket.org/pypy/pypy/changeset/14b8d76b9d53/
Log: More docstring
diff --git a/pypy/interpreter/typedef.py b/pypy/interpreter/typedef.py
--- a/pypy/interpreter/typedef.py
+++ b/pypy/interpreter/typedef.py
@@ -818,6 +818,9 @@
Method.typedef = TypeDef(
"method",
+ __doc__ = """instancemethod(function, instance, class)
+
+Create an instance method object.""",
__new__ = interp2app(Method.descr_method__new__.im_func),
__call__ = interp2app(Method.descr_method_call),
__get__ = interp2app(Method.descr_method_get),
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit