Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update BaseHTTPServer docs #47980

Closed
catlee mannequin opened this issue Aug 29, 2008 · 2 comments
Closed

Update BaseHTTPServer docs #47980

catlee mannequin opened this issue Aug 29, 2008 · 2 comments
Assignees
Labels
docs Documentation in the Doc dir type-feature A feature request or enhancement

Comments

@catlee
Copy link
Mannequin

catlee mannequin commented Aug 29, 2008

BPO 3730
Nosy @birkenfeld, @catlee

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/birkenfeld'
closed_at = <Date 2008-08-30.09:49:44.763>
created_at = <Date 2008-08-29.15:53:59.409>
labels = ['type-feature', 'docs']
title = 'Update BaseHTTPServer docs'
updated_at = <Date 2008-08-30.09:49:44.761>
user = 'https://github.com/catlee'

bugs.python.org fields:

activity = <Date 2008-08-30.09:49:44.761>
actor = 'georg.brandl'
assignee = 'georg.brandl'
closed = True
closed_date = <Date 2008-08-30.09:49:44.763>
closer = 'georg.brandl'
components = ['Documentation']
creation = <Date 2008-08-29.15:53:59.409>
creator = 'catlee'
dependencies = []
files = []
hgrepos = []
issue_num = 3730
keywords = []
message_count = 2.0
messages = ['72144', '72186']
nosy_count = 2.0
nosy_names = ['georg.brandl', 'catlee']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue3730'
versions = ['Python 2.6', 'Python 2.5', 'Python 3.0']

@catlee
Copy link
Mannequin Author

catlee mannequin commented Aug 29, 2008

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'``.

@catlee catlee mannequin assigned birkenfeld Aug 29, 2008
@catlee catlee mannequin added docs Documentation in the Doc dir type-feature A feature request or enhancement labels Aug 29, 2008
@birkenfeld
Copy link
Member

Thanks, committed as r66062.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant