summaryrefslogtreecommitdiff
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2010-05-05 17:31:03 +0000
committerR. David Murray <rdmurray@bitdance.com>2010-05-05 17:31:03 +0000
commit7d93221a5c159ce506b2a557777d1a1751c7f743 (patch)
treed57b1f6f042e0b88ebb53eb88ab8847383aa3357 /Python/Python-ast.c
parentb26dc46576dadd72d608571c021cccc13f4cd8bf (diff)
downloadcpython-git-7d93221a5c159ce506b2a557777d1a1751c7f743.tar.gz
Issue #7472: remove unused code from email.encoders.encode_7or8bit.
Yukihiro Nakadaira noticed a typo in encode_7or8bit that was trying to special case iso-2022 codecs. It turns out that the code in question is never used, because whereas it was designed to trigger if the payload encoding was eight bit but its output encoding was 7 bit, in practice the payload is always converted to the 7bit encoding before encode_7or8bit is called. Patch by Shawat Anand.
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions