Chapter 11. Documenting Python Code
This chapter concludes Part III with
a
look at techniques and tools used for documenting Python code.
Although Python code is designed to be readable in general, a few
well-placed human-readable comments can do much to help others
understand the workings of your programs. To support comments, Python
includes both syntax and tools to make documentation easier. Although
this is something of a tools-related concept, the topic is presented
here, partly because it involves Python's syntax
model, and partly as a resource for readers struggling to understand
Python's toolset. As usual, this chapter ends with
pitfalls and exercises.
|