[issue4975] 3.0 base64 doc examples lack bytes 'b' indicator

2009-01-18 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r68719. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Py

[issue4975] 3.0 base64 doc examples lack bytes 'b' indicator

2009-01-17 Thread Terry J. Reedy
New submission from Terry J. Reedy : This unconverted example in the 3.1a doc needs a 'b' for 'bytes' added before the three input and output string literals. >>> import base64 >>> encoded = base64.b64encode('data to be encoded') # here >>> encoded 'ZGF0YSB0byBiZSBlbmNvZGVk' # here >>> data = ba