]> granicus.if.org Git - python/commit
Fix encode/decode method doc of str, bytes, bytearray types
authorVictor Stinner <victor.stinner@haypocalc.com>
Sun, 7 Nov 2010 18:41:46 +0000 (18:41 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Sun, 7 Nov 2010 18:41:46 +0000 (18:41 +0000)
commite14e2122211081fe7e71871f77f70a0cb105dbfd
tree78d0c6b8142969b4c7cd0e8a8dce1e73ec276fb7
parent64bc3b28a321b6026488f689fb125f31766d9730
Fix encode/decode method doc of str, bytes, bytearray types

 * Specify the default encoding: write 'utf-8' instead of
   sys.getdefaultencoding(), because the default encoding is now constant
 * Specify the default errors value
Doc/library/stdtypes.rst
Objects/bytearrayobject.c
Objects/bytesobject.c
Objects/unicodeobject.c