3.2.1.4. sphinx.ext.autodoc.between

sphinx.ext.autodoc.between(marker, what=None, keepempty=False, exclude=False)[source]

Return a listener that either keeps, or if exclude is True excludes, lines between lines that match the marker regular expression. If no line matches, the resulting docstring would be empty, so no change will be made unless keepempty is true.

If what is a sequence of strings, only docstrings of a type in what will be processed.