Commit 785d1b17 authored by Senthil Kumaran's avatar Senthil Kumaran

Fix Issue17069: Document getcode method in urllib.request.rst

parent 9b3085cd
......@@ -52,6 +52,8 @@ The :mod:`urllib2` module defines the following functions:
in the form of an :class:`mimetools.Message` instance
(see `Quick Reference to HTTP Headers <http://www.cs.tut.fi/~jkorpela/http.html>`_)
* :meth:`getcode` --- return the HTTP status code of the response.
Raises :exc:`URLError` on errors.
Note that ``None`` may be returned if no handler handles the request (though the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment