Fixed bug that would cause an endless loop on empty docstrings.