leforestier / yattag

Python library to generate HTML or XML in a readable, concise and pythonic way.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeError in tagtext()

agieocean opened this issue · comments

commented
doc, tag, text = Doc.tagtext()
TypeError: tagtext() missing 1 required positional argument: 'self'

Getting this error no matter what I do, I initially moved it out of a class it was in just in case that was the problem.
Edit: it's Doc().tagtext()