docstring of _label_all