Staging
v0.5.1
https://github.com/python/cpython
Revision 3adf5220ac93538e7696885b10996f835504a490 authored by Ka-Ping Yee on 19 February 2005, 22:57:37 UTC, committed by Ka-Ping Yee on 19 February 2005, 22:57:37 UTC
Thanks to Robert Dick <dickrp@ece.northwestern.edu> for reporting this bug
and submitting a patch.

Adjust doc(object) to display useful documentation for plain values (e.g.
help([]) now shows the methods on the list instead of just printing "[]").

(This change has been tested interactively, by generating docs for the
standard library, and by running the module documentation webserver.)
1 parent fcfa195
History
Tip revision: 3adf5220ac93538e7696885b10996f835504a490 authored by Ka-Ping Yee on 19 February 2005, 22:57:37 UTC
Use getdoc(object) instead of object.__doc__ to fix indentation problems.
Tip revision: 3adf522
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.cvsignore -rw-r--r-- 109 bytes
.hgtags -rw-r--r-- 2.5 KB
LICENSE -rw-r--r-- 12.9 KB
Makefile.pre.in -rw-r--r-- 31.6 KB
README -rw-r--r-- 48.6 KB
aclocal.m4 -rw-r--r-- 2.1 KB
configure -rwxr-xr-x 577.6 KB
configure.in -rw-r--r-- 85.7 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 23.8 KB
setup.py -rw-r--r-- 52.1 KB

README

back to top