leforestier / yattag

Python library to generate HTML or XML in a readable, concise and pythonic way.
333 stars 31 forks source link

TypeError in tagtext() #28

Closed agieocean closed 8 years ago

agieocean commented 8 years ago
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()