tzh
2024-08-22 c7d0944258c7d0943aa7b2211498fd612971ce27
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
.. _development:
 
*****************
Development Tools
*****************
 
The modules described in this chapter help you write software.  For example, the
:mod:`pydoc` module takes a module and generates documentation based on the
module's contents.  The :mod:`doctest` and :mod:`unittest` modules contains
frameworks for writing unit tests that automatically exercise code and verify
that the expected output is produced.  :program:`2to3` can translate Python 2.x
source code into valid Python 3.x code.
 
The list of modules described in this chapter is:
 
 
.. toctree::
 
   typing.rst
   pydoc.rst
   doctest.rst
   unittest.rst
   unittest.mock.rst
   unittest.mock-examples.rst
   2to3.rst
   test.rst
 
See also the Python development mode: the :option:`-X` ``dev`` option and
:envvar:`PYTHONDEVMODE` environment variable.