pythonecuador/lira

Change `toc` method to return the section object instead of a string

Closed this issue · 0 comments

Looks like we are going to use this in the UI, so we need to pass an object here.

def toc(self, depth=2):