[Python-checkins] r58217 - in python/trunk/Doc: library/decimal.rst tutorial/inputoutput.rst
georg.brandl
python-checkins at python.org
Thu Sep 20 10:45:13 CEST 2007
Author: georg.brandl
Date: Thu Sep 20 10:44:59 2007
New Revision: 58217
Modified:
python/trunk/Doc/library/decimal.rst
python/trunk/Doc/tutorial/inputoutput.rst
Log:
alternate -> alternative.
Modified: python/trunk/Doc/library/decimal.rst
==============================================================================
--- python/trunk/Doc/library/decimal.rst (original)
+++ python/trunk/Doc/library/decimal.rst Thu Sep 20 10:44:59 2007
@@ -984,7 +984,7 @@
The usual approach to working with decimals is to create :class:`Decimal`
instances and then apply arithmetic operations which take place within the
-current context for the active thread. An alternate approach is to use context
+current context for the active thread. An alternative approach is to use context
methods for calculating within a specific context. The methods are similar to
those for the :class:`Decimal` class and are only briefly recounted here.
Modified: python/trunk/Doc/tutorial/inputoutput.rst
==============================================================================
--- python/trunk/Doc/tutorial/inputoutput.rst (original)
+++ python/trunk/Doc/tutorial/inputoutput.rst Thu Sep 20 10:44:59 2007
@@ -250,7 +250,7 @@
>>> f.readlines()
['This is the first line of the file.\n', 'Second line of the file\n']
-An alternate approach to reading lines is to loop over the file object. This is
+An alternative approach to reading lines is to loop over the file object. This is
memory efficient, fast, and leads to simpler code::
>>> for line in f:
More information about the Python-checkins
mailing list