doctest then examines docstrings in module M. Running the module as a script causes the examples in the docstrings to get executed and verified: python M.py.
確定! 回上一頁