Zachary Ware added the comment:
You appear to be reading the Python 3 documentation and using Python 2:
$ python3
Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 23 2015, 02:52:03)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information
New submission from m:
The documentation of the "chr(i)" function is not correct, it states that The
valid range for the argument is from 0 through 1,114,111 (0x10 in base 16).
Correction: The valid range for the argument is from 0 through 255 (0xFF in
base 16).
--
assignee: docs@