summaryrefslogtreecommitdiffstats
path: root/Lib/pydoc.py
diff options
context:
space:
mode:
authorGiampaolo Rodola' <g.rodola@gmail.com>2012-01-09 16:10:10 (GMT)
committerGiampaolo Rodola' <g.rodola@gmail.com>2012-01-09 16:10:10 (GMT)
commit8bc858587305f99dc6e3c2477adaa53dab09df23 (patch)
treeece227ea5c5cf4e22c1c678d57a78b7e4df30f29 /Lib/pydoc.py
parent0c5e52f0bda92b653614c0cbbefc9ddcefb7a380 (diff)
downloadcpython-8bc858587305f99dc6e3c2477adaa53dab09df23.zip
cpython-8bc858587305f99dc6e3c2477adaa53dab09df23.tar.gz
cpython-8bc858587305f99dc6e3c2477adaa53dab09df23.tar.bz2
provide a common method to check for RETR_DATA validity, first checking the expected len and then the actual data content; this way we get a failure on len mismatch rather than content mismatch (which is very long and unreadable)
Diffstat (limited to 'Lib/pydoc.py')
0 files changed, 0 insertions, 0 deletions