]> granicus.if.org Git - python/commitdiff
alternate -> alternative.
authorGeorg Brandl <georg@python.org>
Thu, 20 Sep 2007 08:44:59 +0000 (08:44 +0000)
committerGeorg Brandl <georg@python.org>
Thu, 20 Sep 2007 08:44:59 +0000 (08:44 +0000)
Doc/library/decimal.rst
Doc/tutorial/inputoutput.rst

index 2dcd44572b4886c0b8ccccc87e873d22c84bf26a..3cbf0919a4157076ba4ba7f2e0f89525ad111251 100644 (file)
@@ -984,7 +984,7 @@ method.  For example, ``C.exp(x)`` is equivalent to
 
 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.
 
index 9c302affe6920d1e5d44a06ca5b1dbf773d73f25..beca1be342130420ad55b5a3ca34ecf6c0f658e4 100644 (file)
@@ -250,7 +250,7 @@ having to load the entire file in memory.  Only complete lines will be returned.
    >>> 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: