PK
The modules described in this chapter help you write software. For example, the pydoc module takes a module and generates documentation based on the module’s contents. The doctest and unittest modules contains frameworks for writing unit tests that automatically exercise code and verify that the expected output is produced. 2to3 can translate Python 2.x source code into valid Python 3.x code.
pydoc
doctest
unittest
The list of modules described in this chapter is:
typing
Any
unittest.mock
lib2to3
test
test.support
25.6. Other Graphical User Interface Packages
26.1. typing — Support for type hints