you may want to include test directly within your RST documents or Python docstring as follows: .. doctest:: >>> import math >>> print math.sqrt(2.) ...
確定! 回上一頁