interactive help on the base object

Mark Janssen dreamingforward at gmail.com
Mon Dec 9 03:41:47 CET 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