diff options
author | Giampaolo Rodola' <g.rodola@gmail.com> | 2012-01-09 16:10:10 (GMT) |
---|---|---|
committer | Giampaolo Rodola' <g.rodola@gmail.com> | 2012-01-09 16:10:10 (GMT) |
commit | 8bc858587305f99dc6e3c2477adaa53dab09df23 (patch) | |
tree | ece227ea5c5cf4e22c1c678d57a78b7e4df30f29 /Lib/pydoc.py | |
parent | 0c5e52f0bda92b653614c0cbbefc9ddcefb7a380 (diff) | |
download | cpython-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