Coding standard: Prefixing variables to indicate datatype
Michael Hudson
mwh at python.net
Tue Jan 21 05:43:45 EST 2003
"Terry Reedy" <tjreedy at udel.edu> writes:
> > I guess I've never asked, and this does really cut to the heart of
> it.
> > I understand that Python has been OO since the very beginning, so
> how
> > ever did it wind up with so many of the string-the-class's methods
> (and
> > a constructor or two) hidden in a module, anyway?
>
> Until 2.2, most immutables (numbers, strings, tuples, in particular)
> did not have methods. TJR
strings got methods in 1.6.
pedantically-y'rs,
M.
--
This song is for anyone ... fuck it. Shut up and listen.
-- Eminem, "The Way I Am"
More information about the Python-list
mailing list