]> granicus.if.org Git - python/commitdiff
A few trivial edits.
authorTim Peters <tim.peters@gmail.com>
Fri, 23 Jul 2004 02:48:24 +0000 (02:48 +0000)
committerTim Peters <tim.peters@gmail.com>
Fri, 23 Jul 2004 02:48:24 +0000 (02:48 +0000)
Doc/lib/libdoctest.tex

index 6c72dbc7fda8ba4a4f153642bf62e81c988dc1e0..919f86bd46fb4ae36a4faca61f70fccbbf4a7111 100644 (file)
@@ -154,7 +154,7 @@ if __name__ == "__main__":
     _test()
 \end{verbatim}
 
-If you want to test the module as the main module, you don't need to
+If you want to test the current module as the main module, you don't need to
 pass M to \function{testmod()}; in this case, it will test the current
 module.
 
@@ -367,19 +367,19 @@ The fine print:
   them:
 
 \begin{verbatim}
->>> def f(x): 
+>>> def f(x):
 ...     r'''Backslashes in a raw docstring: m\n'''
 >>> print f.__doc__
 Backslashes in a raw docstring: m\n
 \end{verbatim}
-  
+
   Otherwise, the backslash will be interpreted as part of the string.
   E.g., the "\textbackslash" above would be interpreted as a newline
   character.  Alternatively, you can double each backslash in the
   doctest version (and not use a raw string):
 
 \begin{verbatim}
->>> def f(x): 
+>>> def f(x):
 ...     '''Backslashes in a raw docstring: m\\n'''
 >>> print f.__doc__
 Backslashes in a raw docstring: m\n