Re: Wrong unichr docstring in 2.7

2010-08-22 Thread jmfauth
Short comments: 1) I'm aware Python can be built in "ucs2" or "ucs4" mode. It remains that the unichr doc string does not seem correct. 2) 0x0 versus 0 Do not take this too seriously. Sure the value of 0x0 and 0 are equal, but the "unit" sounds strange. Eg. If a is a length, I would not express a

Re: Wrong unichr docstring in 2.7

2010-08-22 Thread Dave Angel
jmfauth wrote: I think there is a small point here. sys.version 2.7 (r27:82525, Jul 4 2010, 09:01:59) [MSC v.1500 32 bit (Intel)] print unichr.__doc__ unichr(i) -> Unicode character Return a Unicode string of one character with ordinal i; 0 <= i <= 0x10. # b

Re: Wrong unichr docstring in 2.7

2010-08-22 Thread Thomas Jollans
On Sunday 22 August 2010, it occurred to jmfauth to exclaim: > I think there is a small point here. > > >>> sys.version > > 2.7 (r27:82525, Jul 4 2010, 09:01:59) [MSC v.1500 32 bit (Intel)] > > >>> print unichr.__doc__ > > unichr(i) -> Unicode character > > Return a Unicode string of one char