comparison Doc/library/cgihttpserver.rst @ 76732:8aab13719c02 2.7

Use Python 3 instead of 3.0.
author Ezio Melotti <ezio.melotti@gmail.com>
date Thu, 03 May 2012 19:21:40 +0300
parents 59db4b3a06b0
children
comparison
equal deleted inserted replaced
76727:e606c123244f 76732:8aab13719c02
6 scripts. 6 scripts.
7 .. sectionauthor:: Moshe Zadka <moshez@zadka.site.co.il> 7 .. sectionauthor:: Moshe Zadka <moshez@zadka.site.co.il>
8 8
9 .. note:: 9 .. note::
10 The :mod:`CGIHTTPServer` module has been merged into :mod:`http.server` in 10 The :mod:`CGIHTTPServer` module has been merged into :mod:`http.server` in
11 Python 3.0. The :term:`2to3` tool will automatically adapt imports when 11 Python 3. The :term:`2to3` tool will automatically adapt imports when
12 converting your sources to 3.0. 12 converting your sources to Python 3.
13 13
14 14
15 The :mod:`CGIHTTPServer` module defines a request-handler class, interface 15 The :mod:`CGIHTTPServer` module defines a request-handler class, interface
16 compatible with :class:`BaseHTTPServer.BaseHTTPRequestHandler` and inherits 16 compatible with :class:`BaseHTTPServer.BaseHTTPRequestHandler` and inherits
17 behavior from :class:`SimpleHTTPServer.SimpleHTTPRequestHandler` but can also 17 behavior from :class:`SimpleHTTPServer.SimpleHTTPRequestHandler` but can also