summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-04-30 15:36:31 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2016-04-30 15:36:31 (GMT)
commit065b40c0bdb803fa28e1e0da95269fdb1856ad10 (patch)
tree701ac809dd42efff0376f17436e4fe41bbfb3f63
parent064ee4d28cbc39da8d0a872b71dd8c2b72cdfa9d (diff)
downloadcpython-065b40c0bdb803fa28e1e0da95269fdb1856ad10.zip
cpython-065b40c0bdb803fa28e1e0da95269fdb1856ad10.tar.gz
cpython-065b40c0bdb803fa28e1e0da95269fdb1856ad10.tar.bz2
Issue #21746: Remove BaseResult reference from urlparse documentation
BaseResult no longer exists and it has been replaced by namedtuple. Patch by Matthew Gilson.
-rw-r--r--Doc/library/urlparse.rst14
1 files changed, 2 insertions, 12 deletions
diff --git a/Doc/library/urlparse.rst b/Doc/library/urlparse.rst
index c119190..dc96a31 100644
--- a/Doc/library/urlparse.rst
+++ b/Doc/library/urlparse.rst
@@ -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.