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

Also add a note about inheritance from `object` being default.
diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst
index a8977f8..35874b6 100644
--- a/Doc/library/ctypes.rst
+++ b/Doc/library/ctypes.rst
@@ -369,7 +369,7 @@
 :attr:`_as_parameter_` attribute and uses this as the function argument.  Of
 course, it must be one of integer, string, or bytes::
 
-   >>> class Bottles(object):
+   >>> class Bottles:
    ...     def __init__(self, number):
    ...         self._as_parameter_ = number
    ...