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
Raw File
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
.cvsignore
.purify
config.log
config.cache
config.status
Makefile
buildno
python
build
Makefile.pre
platform
pyconfig.h
back to top