computing with characters

SL ni at hao.com
Wed Apr 30 04:51:54 EDT 2008


"Gabriel Genellina" <gagsl-py2 at yahoo.com.ar> schreef in bericht 
news:mailman.365.1209541507.12834.python-list at python.org...
> En Wed, 30 Apr 2008 04:19:22 -0300, SL <ni at hao.com> escribió:
> And that's a very reasonable place to search; I think chr and ord are 
> builtin functions (and not str methods) just by an historical accident. 
> (Or is there any other reason? what's wrong with "a".ord() or 
> str.from_ordinal(65))?

yes when you know other OO languages you expect this. Anyone know why 
builtins were chosen? Just curious
>
> -- 
> Gabriel Genellina
> 




More information about the Python-list mailing list