On Mon, Sep 20, 2010 at 10:16 AM, Michael Scharf <mns...@gmail.com> wrote:
> > Hi, > > > Why is it > > > > list0.extend(list1) > because extend is a list method > > > and not > > > extend(list 0, list1) > > > > or > > > stri0 = stri0.strip() > > > strip is a string method > and not > > > stri0 = strip(stri0) > > > > Why have arguments on the left side at all, when usually the dot notation > left to right implies a hierarchical relation: file.class or class.method > etc. > > > > I googled this, but didn’t find it. > > > > Thank you, > > Mike > > > _______________________________________________ > Tutor maillist - Tutor@python.org > To unsubscribe or change subscription options: > http://mail.python.org/mailman/listinfo/tutor > > -- Joel Goldstick
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor