[Python-checkins] cpython (2.7): Issue #21746: Remove BaseResult reference from urlparse documentation

berker.peksag python-checkins at python.org
Sat Apr 30 11:36:43 EDT 2016


https://hg.python.org/cpython/rev/6d49a7330c99
changeset:   101191:6d49a7330c99
branch:      2.7
user:        Berker Peksag <berker.peksag at gmail.com>
date:        Sat Apr 30 18:36:31 2016 +0300
summary:
  Issue #21746: Remove BaseResult reference from urlparse documentation

BaseResult no longer exists and it has been replaced by namedtuple.

Patch by Matthew Gilson.

files:
  Doc/library/urlparse.rst |  14 ++------------
  1 files changed, 2 insertions(+), 12 deletions(-)


diff --git a/Doc/library/urlparse.rst b/Doc/library/urlparse.rst
--- a/Doc/library/urlparse.rst
+++ b/Doc/library/urlparse.rst
@@ -337,22 +337,12 @@
 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.
 

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list