]> granicus.if.org Git - python/commitdiff
Issue #21746: Remove BaseResult reference from urlparse documentation
authorBerker Peksag <berker.peksag@gmail.com>
Sat, 30 Apr 2016 15:36:31 +0000 (18:36 +0300)
committerBerker Peksag <berker.peksag@gmail.com>
Sat, 30 Apr 2016 15:36:31 +0000 (18:36 +0300)
BaseResult no longer exists and it has been replaced by namedtuple.

Patch by Matthew Gilson.

Doc/library/urlparse.rst

index c1191909255461e929b23f3c77d7da8afcdddf51..dc96a31118aba8f08c44218b5da36759e45e2c20 100644 (file)
@@ -337,22 +337,12 @@ described in those functions, as well as provide an additional method:
 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.
 
 
 .. 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.