summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorKa-Ping Yee <ping@zesty.ca>2005-02-19 22:58:26 (GMT)
committerKa-Ping Yee <ping@zesty.ca>2005-02-19 22:58:26 (GMT)
commitbba6acc714710e7e0190e4eba300b1dc4e492ecf (patch)
treefc2034429dd30b332d5beabbd83318c346a8e95e /Modules
parent3c24d96bc5b7323c945fc09e4f8726c43c25e6c7 (diff)
downloadcpython-bba6acc714710e7e0190e4eba300b1dc4e492ecf.zip
cpython-bba6acc714710e7e0190e4eba300b1dc4e492ecf.tar.gz
cpython-bba6acc714710e7e0190e4eba300b1dc4e492ecf.tar.bz2
Use getdoc(object) instead of object.__doc__ to fix indentation problems.
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.)
Diffstat (limited to 'Modules')
0 files changed, 0 insertions, 0 deletions