diff options
author | Barry Warsaw <barry@python.org> | 2002-10-07 17:27:35 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2002-10-07 17:27:35 (GMT) |
commit | 487fe6ac398b38b604d56285f2afb71e3ddbeb91 (patch) | |
tree | a384279d447a796c3dce12433b9a37c5affa1170 /Lib/pyclbr.py | |
parent | 45bb87bc135a36d9359eb0106f8e950cee5574d9 (diff) | |
download | cpython-487fe6ac398b38b604d56285f2afb71e3ddbeb91.zip cpython-487fe6ac398b38b604d56285f2afb71e3ddbeb91.tar.gz cpython-487fe6ac398b38b604d56285f2afb71e3ddbeb91.tar.bz2 |
_parsebody(): Use get_content_type() instead of the deprecated
get_type(). Also, one of the regular expressions is constant so might
as well make it a module global. And, when splitting up digests,
handle lineseps that are longer than 1 character in length
(e.g. \r\n).
Diffstat (limited to 'Lib/pyclbr.py')
0 files changed, 0 insertions, 0 deletions