This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Update BaseHTTPServer docs
Type: enhancement Stage:
Components: Documentation Versions: Python 3.0, Python 2.6, Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: catlee, georg.brandl
Priority: normal Keywords:

Created on 2008-08-29 15:53 by catlee, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg72144 - (view) Author: Chris AtLee (catlee) * Date: 2008-08-29 15:53
The BaseHTTPServer docs don't mention 'server' as an instance variable
in the instance variable section for BaseHTTPRequestHandler.  It is
mentioned in passing a few paragraphs above in the BaseHTTPServer class
description, but it's too easy to miss there.

Index: basehttpserver.rst
===================================================================
--- basehttpserver.rst	(revision 66056)
+++ basehttpserver.rst	(working copy)
@@ -68,6 +68,11 @@
       address.
 
 
+   .. attribute:: server
+
+      Contains the server instance.
+
+
    .. attribute:: command
 
       Contains the command (request type). For example, ``'GET'``.
msg72186 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-08-30 09:49
Thanks, committed as r66062.
History
Date User Action Args
2022-04-11 14:56:38adminsetgithub: 47980
2008-08-30 09:49:44georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg72186
2008-08-29 15:53:59catleecreate