Typo in /reference/datamodel.html
In http://docs.python.org/release/3.2.3/reference/datamodel.html#the-standard-t... the description of Bytes sequence type: A bytes object is an immutable array. The items are 8-bit bytes, represented by integers in the range 0 <= x < 256. Bytes literals (like b'abc' and the built-in function bytes() can be used to construct bytes objects. Also, bytes objects can be decoded to strings via the decode() method. Missing closing parenthesis (or rewrite or whatever): A bytes object is an immutable array. The items are 8-bit bytes, represented by integers in the range 0 <= x < 256. Bytes literals (like b'abc'*)* and the built-in function bytes() can be used to construct bytes objects. Also, bytes objects can be decoded to strings via the decode() method. Saw this in 3.2.3, but it also seems to still exist in 3.4.0a0 docs.
Fixed, thanks. On Sun, Sep 30, 2012 at 12:28 PM, Josh Helzer <josh.helzer@gmail.com> wrote:
In http://docs.python.org/release/3.2.3/reference/datamodel.html#the-standard-t... under the description of Bytes sequence type:
A bytes object is an immutable array. The items are 8-bit bytes, represented by integers in the range 0 <= x < 256. Bytes literals (like b'abc' and the built-in function bytes() can be used to construct bytes objects. Also, bytes objects can be decoded to strings via the decode() method.
Missing closing parenthesis (or rewrite or whatever):
A bytes object is an immutable array. The items are 8-bit bytes, represented by integers in the range 0 <= x < 256. Bytes literals (like b'abc') and the built-in function bytes() can be used to construct bytes objects. Also, bytes objects can be decoded to strings via the decode() method.
Saw this in 3.2.3, but it also seems to still exist in 3.4.0a0 docs.
_______________________________________________ docs mailing list docs@python.org http://mail.python.org/mailman/listinfo/docs
-- Thanks, Andrew Svetlov
participants (2)
-
Andrew Svetlov
-
Josh Helzer