Remove unnecessary `object` base class in docs (#10366).

Also add a note about inheritance from `object` being default.
13 files changed