interactive help on the base object

Mark Janssen dreamingforward at gmail.com
Sun Dec 8 21:41:47 EST 2013


>> What methods, if any does it provide?  Are they all abstract? etc???
>
> Pretty much nothing useful :-)
>
> py> dir(object)
> [...]
>

So (prodding the student), Why does everything inherit from Object if
it provides no functionality?

Practicality-beats-purity-yours?

-- 
MarkJ
Tacoma, Washington



More information about the Python-list mailing list