DOC: minor fix in extract docstring