This commit is contained in:
Barry Warsaw 2001-09-26 05:26:22 +00:00
parent 5e634638e6
commit 6f70c41923
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@ from quopri import encodestring as _encodestring
def _qencode(s):
return _encodestring(s, quotetabs=1)
def _bencode(s):
# We can't quite use base64.encodestring() since it tacks on a "courtesy
# newline". Blech!