There seems to be no direct way to use the inline POD in a Python file. However, Python modules (including the standard Python library) are documented using reStructuredText . This is usually done using Sphinx , which creates documentation from docstrings in reStructuredText format. The Sphinx and the first were specifically designed to fill a similar niche for POD.
source
share