Yup, that was a typo. Someone else noticed it too. It's fixed in the version of the slides I'll post to python.org.
--Guido On 2/24/07, Ka-Ping Yee <[EMAIL PROTECTED]> wrote: > Hi Guido, > > I'm in your keynote and looking at a slide right now that says > > * bytes has .encode() method returning a string > * str has a .decode() method returning bytes > > Should the names of those two methods be swapped? I think it > makes more sense to say that an encoding is something that > transforms a string into a sequence of bytes. > > > -- ?!ng > _______________________________________________ > Python-3000 mailing list > Python-3000@python.org > http://mail.python.org/mailman/listinfo/python-3000 > Unsubscribe: > http://mail.python.org/mailman/options/python-3000/guido%40python.org > -- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com