diff -r 08f282c96fd1 Doc/library/urlparse.rst --- a/Doc/library/urlparse.rst Thu Nov 21 19:24:04 2013 +0200 +++ b/Doc/library/urlparse.rst Fri Jun 13 02:14:52 2014 -0700 @@ -336,22 +336,17 @@ The following classes provide the implementations of the parse results: -.. class:: BaseResult - - Base class for the concrete result classes. This provides most of the attribute - definitions. It does not provide a :meth:`geturl` method. It is derived from - :class:`tuple`, but does not override the :meth:`__init__` or :meth:`__new__` - methods. - - .. class:: ParseResult(scheme, netloc, path, params, query, fragment) - Concrete class for :func:`urlparse` results. The :meth:`__new__` method is - overridden to support checking that the right number of arguments are passed. + Concrete class for :func:`urlparse` results. The attribute definitions are + provided by a tuple subclass returned by the factory function + :func:`collections.namedtuple` so all of the methods documented there are + available. .. class:: SplitResult(scheme, netloc, path, query, fragment) - Concrete class for :func:`urlsplit` results. The :meth:`__new__` method is - overridden to support checking that the right number of arguments are passed. - + Concrete class for :func:`urlsplit` results. The attribute definitions are + provided by a tuple subclass returned by the factory function + :func:`collections.namedtuple` so all of the methods documented there are + available.