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
_tkinter.def -rw-r--r-- 207 bytes
config.c -rw-r--r-- 2.8 KB
getpathp.c -rw-r--r-- 11.1 KB
makefile -rw-r--r-- 116.2 KB
makefile.omk -rw-r--r-- 62.4 KB
pyconfig.h -rw-r--r-- 9.3 KB
python.def -rw-r--r-- 15.1 KB
readme.txt -rw-r--r-- 4.5 KB

readme.txt

back to top