Removed assert from str to make __iter__ work again