autoclasstoc.utils.pick_sections
- autoclasstoc.utils.pick_sections(sections, exclude=None)[source]
Determine which sections to include in the class TOC.
The return value will be a list in the same order as sections, but with any sections from exclude removed. Both arguments can specify sections using string names (e.g. “public-methods”) or un-instantiated
Section
classes. All names will be converted to classes in the return value.