some documentation
assert() in the __str__ method. I'm not sure that's the usual semantics
for str(), though