doctests edit