File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -152,10 +152,6 @@ are always available. They are listed here in alphabetical order.
152152 1,114,111 (0x10FFFF in base 16). :exc: `ValueError ` will be raised if *i * is
153153 outside that range.
154154
155- Note that on narrow Unicode builds, the result is a string of
156- length two for *i * greater than 65,535 (0xFFFF in hexadecimal).
157-
158-
159155
160156.. function :: classmethod(function)
161157
@@ -919,14 +915,11 @@ are always available. They are listed here in alphabetical order.
919915.. XXX works for bytes too, but should it?
920916 .. function :: ord(c)
921917
922- Given a string representing one Uncicode character, return an integer
918+ Given a string representing one Unicode character, return an integer
923919 representing the Unicode code
924920 point of that character. For example, ``ord('a') `` returns the integer ``97 ``
925921 and ``ord('\u2020') `` returns ``8224 ``. This is the inverse of :func: `chr `.
926922
927- On wide Unicode builds, if the argument length is not one, a
928- :exc: `TypeError ` will be raised. On narrow Unicode builds, strings
929- of length two are accepted when they form a UTF-16 surrogate pair.
930923
931924.. function :: pow(x, y[, z])
932925
You can’t perform that action at this time.
0 commit comments