Python "object" as root object

Martin Pool mbp at
Thu May 26 03:15:37 BST 2005

On 25 May 2005, John A Meinel <john at> wrote:
> John A Meinel wrote:
> >Since you seem to be okay adding it, I will submit a patch. :)
> >
> >John
> >=:->
> >
> As promised. Really this is just:
> grep -rn "^class.*[^)]:" *
> and
> sed -e 's/(^class.*[^)]):/\1(object):/'
> (though I used vim for the last part, so my syntax may be a little off).
> It might just be easier for you to do it, it only takes a couple of seconds.

OK, done.

(It seems that method decorators like classmethod and staticmethod do
work ok with old-style classes though.)


More information about the bazaar mailing list