In addition, Python includes a library, doctest, that allows testing and validation of Python REPL snippets.
Another nice feature of doctest is validation of documentation.
These two sentences seem redundant, especially if the primary purpose of "Python REPL snippets" within docstrings is "documentation."
These two sentences seem redundant, especially if the primary purpose of "Python REPL snippets" within docstrings is "documentation."