summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorGiampaolo Rodola' <g.rodola@gmail.com>2012-01-09 17:10:10 +0100
committerGiampaolo Rodola' <g.rodola@gmail.com>2012-01-09 17:10:10 +0100
commitbf870dfd8be7210a203ff8eae709f13225e59a14 (patch)
tree1d63a5736217bf7e9d2de67ab96427da3a6e45aa /Python/errors.c
parent955d01f5f02b3b7ad02fbb163587a7fddf63d99d (diff)
downloadcpython-bf870dfd8be7210a203ff8eae709f13225e59a14.tar.gz
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 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions