[Patches] [Patch #101313] New builtin function doc
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 04 Jan 2001 07:43:17 -0800
Patch #101313 has been updated.
Project: python
Category: library
Status: Closed
Submitted by: loewis
Assigned to : jhylton
Summary: New builtin function doc
Follow-Ups:
Date: 2001-Jan-04 07:43
By: gvanrossum
Comment:
Superseded by PEP 233 (Python Online Help).
-------------------------------------------------------
Date: 2000-Aug-26 11:36
By: twouters
Comment:
Someone (Vladimir, I think ?) was working on a help() function, which was a
docstring-prettyprinter as well as helpful in many other ways. I also think
doc() should only be defined in interactive mode, but that's personal.
-------------------------------------------------------
Date: 2000-Aug-27 02:13
By: moshez
Comment:
Assigned to Jeremy, so he can postpone it.
It's definitely not-for-2.0 stuff.
-------------------------------------------------------
Date: 2000-Aug-28 00:43
By: tim_one
Comment:
Postponed it as requested (why didn't you do that yourself?). Left
assigned to Jeremy for post-2.0 resurrection.
-------------------------------------------------------
Date: 2000-Nov-01 04:14
By: moshez
Comment:
I don't like the fact that it either returns a string or prints it.
Furthermore, nobody needs the function to return a string in the builtins,
IMHO.
My suggestion: have a function doc_translate in gettext.py, which does the
translation, and have doc in the builtins (exactly like you did it,
laziness and all) which does, basically, print doc_translate(obj)
-------------------------------------------------------
-------------------------------------------------------
For more info, visit:
http://sourceforge.net/patch/?func=detailpatch&patch_id=101313&group_id=5470