]> granicus.if.org Git - python/commitdiff
Fix Issue #21528 - Fix documentation typos
authorDonald Stufft <donald@stufft.io>
Tue, 20 May 2014 16:58:38 +0000 (12:58 -0400)
committerDonald Stufft <donald@stufft.io>
Tue, 20 May 2014 16:58:38 +0000 (12:58 -0400)
Doc/distutils/apiref.rst
Doc/distutils/builtdist.rst
Doc/howto/sockets.rst
Doc/library/argparse.rst
Doc/library/collections.rst
Doc/library/resource.rst
Doc/library/xml.dom.rst
Doc/whatsnew/2.1.rst

index d33eab65806defceb3aa8e561cbd26e06b8cdc69..67ad3be09305de13cfb6e8df1adb38fcdef7221e 100644 (file)
@@ -1106,13 +1106,13 @@ other utility module.
    during the build of Python), not the OS version of the current system.
 
    For universal binary builds on Mac OS X the architecture value reflects
-   the univeral binary status instead of the architecture of the current
+   the universal binary status instead of the architecture of the current
    processor. For 32-bit universal binaries the architecture is ``fat``,
    for 64-bit universal binaries the architecture is ``fat64``, and
    for 4-way universal binaries the architecture is ``universal``. Starting
    from Python 2.7 and Python 3.2 the architecture ``fat3`` is used for
    a 3-way universal build (ppc, i386, x86_64) and ``intel`` is used for
-   a univeral build with the i386 and x86_64 architectures
+   a universal build with the i386 and x86_64 architectures
 
    Examples of returned values on Mac OS X:
 
index 7f6eb5d5b6128ca56297d4ac14b3441d87a211ef..5e70cbab14970c1c54b27ab5b9c85124016af474 100644 (file)
@@ -355,7 +355,7 @@ support this option, so the command::
 would create a 64bit installation executable on your 32bit version of Windows.
 
 To cross-compile, you must download the Python source code and cross-compile
-Python itself for the platform you are targetting - it is not possible from a
+Python itself for the platform you are targeting - it is not possible from a
 binary installation of Python (as the .lib etc file for other platforms are
 not included.)  In practice, this means the user of a 32 bit operating
 system will need to use Visual Studio 2008 to open the
index f8ac34850b9a3c252ef39909ac2ecadc90558683..2b08141292661ce013b075623c86abff0b35ed7c 100644 (file)
@@ -237,7 +237,7 @@ messages to be sent back to back (without some kind of reply), and you pass
 following message. You'll need to put that aside and hold onto it, until it's
 needed.
 
-Prefixing the message with it's length (say, as 5 numeric characters) gets more
+Prefixing the message with its length (say, as 5 numeric characters) gets more
 complex, because (believe it or not), you may not get all 5 characters in one
 ``recv``. In playing around, you'll get away with it; but in high network loads,
 your code will very quickly break unless you use two ``recv`` loops - the first
index fd9312b8c45d6264b5d4ebc54264e76f41f7b8b5..1dfebc204096589a22eb02f3c1583d3f5fb25cee 100644 (file)
@@ -1873,7 +1873,7 @@ Customizing file parsing
 
    Arguments that are read from a file (see the *fromfile_prefix_chars*
    keyword argument to the :class:`ArgumentParser` constructor) are read one
-   argument per line. :meth:`convert_arg_line_to_args` can be overriden for
+   argument per line. :meth:`convert_arg_line_to_args` can be overridden for
    fancier reading.
 
    This method takes a single argument *arg_line* which is a string read from
index 9ac2c020e3243602706f21e04ff2c4ac13ba43b4..4231e8ce2cee7571eab3094d326c9cc349967bff 100644 (file)
@@ -835,7 +835,7 @@ semantics pass-in keyword arguments using a regular unordered dictionary.
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 Since an ordered dictionary remembers its insertion order, it can be used
-in conjuction with sorting to make a sorted dictionary::
+in conjunction with sorting to make a sorted dictionary::
 
     >>> # regular unsorted dictionary
     >>> d = {'banana': 3, 'apple': 4, 'pear': 1, 'orange': 2}
@@ -1037,7 +1037,7 @@ Notes on using :class:`Set` and :class:`MutableSet` as a mixin:
 (3)
    The :class:`Set` mixin provides a :meth:`_hash` method to compute a hash value
    for the set; however, :meth:`__hash__` is not defined because not all sets
-   are hashable or immutable.  To add set hashabilty using mixins,
+   are hashable or immutable.  To add set hashability using mixins,
    inherit from both :meth:`Set` and :meth:`Hashable`, then define
    ``__hash__ = Set._hash``.
 
index f6d60588185a920f7bd65bcf1d940d201acb91ac..517a60b317d3f7083670f58f4ca9005b7aee4bb5 100644 (file)
@@ -44,7 +44,7 @@ this module for those platforms.
 
 .. data:: RLIM_INFINITY
 
-   Constant used to represent the the limit for an unlimited resource.
+   Constant used to represent the limit for an unlimited resource.
 
 
 .. function:: getrlimit(resource)
index 5582600fe57cebd2f446262b6823d3b371bff0e9..4d98015b8e16fda29b6b18d757112f1af275d95a 100644 (file)
@@ -431,7 +431,7 @@ objects:
 .. method:: NodeList.item(i)
 
    Return the *i*'th item from the sequence, if there is one, or ``None``.  The
-   index *i* is not allowed to be less then zero or greater than or equal to the
+   index *i* is not allowed to be less than zero or greater than or equal to the
    length of the sequence.
 
 
index c74bb7160fd66d98acbd626e0dd714d488208551..c34ba8a25364ab2f93ca4fe8433009a81796166c 100644 (file)
@@ -219,7 +219,7 @@ comparison.  I won't cover the C API here, but will refer you to PEP 207, or to
 
 .. seealso::
 
-   :pep:`207` - Rich Comparisions
+   :pep:`207` - Rich Comparisons
       Written by Guido van Rossum, heavily based on earlier work by David Ascher, and
       implemented by Guido van Rossum.