Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(10)

Unified Diff: Doc/library/doctest.rst

Issue 10639: reindent.py converts newlines to platform default
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Doc/library/dis.rst ('k') | Doc/library/email.util.rst » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Doc/library/doctest.rst Tue Jul 26 09:37:46 2011 +0300
+++ b/Doc/library/doctest.rst Mon Jul 25 09:47:18 2011 -0400
@@ -1127,10 +1127,11 @@
.. class:: DocTest(examples, globs, name, filename, lineno, docstring)
A collection of doctest examples that should be run in a single namespace. The
- constructor arguments are used to initialize the attributes of the same names.
+ constructor arguments are used to initialize the member variables of the same
+ names.
- :class:`DocTest` defines the following attributes. They are initialized by
+ :class:`DocTest` defines the following member variables. They are initialized by
the constructor, and should not be modified directly.
@@ -1183,11 +1184,11 @@
.. class:: Example(source, want, exc_msg=None, lineno=0, indent=0, options=None)
A single interactive example, consisting of a Python statement and its expected
- output. The constructor arguments are used to initialize the attributes of
- the same names.
+ output. The constructor arguments are used to initialize the member variables
+ of the same names.
- :class:`Example` defines the following attributes. They are initialized by
+ :class:`Example` defines the following member variables. They are initialized by
the constructor, and should not be modified directly.
@@ -1674,9 +1675,9 @@
An exception raised by :class:`DocTestRunner` to signal that a doctest example's
actual output did not match its expected output. The constructor arguments are
- used to initialize the attributes of the same names.
+ used to initialize the member variables of the same names.
-:exc:`DocTestFailure` defines the following attributes:
+:exc:`DocTestFailure` defines the following member variables:
.. attribute:: DocTestFailure.test
@@ -1698,9 +1699,9 @@
An exception raised by :class:`DocTestRunner` to signal that a doctest
example raised an unexpected exception. The constructor arguments are used
- to initialize the attributes of the same names.
+ to initialize the member variables of the same names.
-:exc:`UnexpectedException` defines the following attributes:
+:exc:`UnexpectedException` defines the following member variables:
.. attribute:: UnexpectedException.test
« no previous file with comments | « Doc/library/dis.rst ('k') | Doc/library/email.util.rst » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+