]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
#11515: fix several typos. Patch by Piotr Kasprzyk.
authorEzio Melotti <ezio.melotti@gmail.com>
Tue, 15 Mar 2011 16:55:01 +0000 (18:55 +0200)
committerEzio Melotti <ezio.melotti@gmail.com>
Tue, 15 Mar 2011 16:55:01 +0000 (18:55 +0200)
44 files changed:
Lib/SocketServer.py
Lib/ctypes/test/test_functions.py
Lib/decimal.py
Lib/email/mime/application.py
Lib/ftplib.py
Lib/gettext.py
Lib/httplib.py
Lib/idlelib/EditorWindow.py
Lib/idlelib/HISTORY.txt
Lib/lib-tk/Tix.py
Lib/lib-tk/Tkinter.py
Lib/lib-tk/ttk.py
Lib/lib-tk/turtle.py
Lib/nntplib.py
Lib/test/crashers/recursion_limit_too_high.py
Lib/test/test_compile.py
Lib/test/test_descr.py
Lib/test/test_os.py
Lib/test/test_re.py
Lib/test/test_string.py
Lib/xml/dom/minidom.py
Mac/BuildScript/build-installer.py
Mac/Tools/pythonw.c
Misc/ACKS
Modules/_ctypes/callproc.c
Modules/_ctypes/libffi/ChangeLog
Modules/_ctypes/libffi/src/dlmalloc.c
Modules/_ctypes/libffi/src/powerpc/ffi_darwin.c
Modules/_ctypes/libffi_osx/powerpc/ppc-ffi_darwin.c
Modules/_heapqmodule.c
Modules/_struct.c
Modules/parsermodule.c
Modules/threadmodule.c
Modules/zipimport.c
Objects/bytearrayobject.c
Objects/longobject.c
Objects/stringlib/string_format.h
Objects/stringobject.c
PC/bdist_wininst/install.c
Python/_warnings.c
Python/sysmodule.c
Tools/msi/msi.py
Tools/pybench/pybench.py
setup.py

index f0db511d1d040c09fee3d020f11b6537b518d492..f1fd78b86b9867864da15388b407cf24e5a95fc3 100644 (file)
@@ -675,7 +675,7 @@ class StreamRequestHandler(BaseRequestHandler):
     # A timeout to apply to the request socket, if not None.
     timeout = None
 
-    # Disable nagle algoritm for this socket, if True.
+    # Disable nagle algorithm for this socket, if True.
     # Use only when wbufsize != 0, to avoid small packets.
     disable_nagle_algorithm = False
 
index 4534815f18801242f5f7c0edc40ec2e75db83ec2..70cf188ed886546b5306b6e13e81da8b1b1b7631 100644 (file)
@@ -116,7 +116,7 @@ class FunctionTestCase(unittest.TestCase):
         self.assertEqual(result, 21)
         self.assertEqual(type(result), int)
 
-        # You cannot assing character format codes as restype any longer
+        # You cannot assign character format codes as restype any longer
         self.assertRaises(TypeError, setattr, f, "restype", "i")
 
     def test_floatresult(self):
index 102fc8e6e55fe2859761937748f7809f696eecfb..5e2a750924c7a1548db3f2adb924243ec9a8c137 100644 (file)
@@ -5993,7 +5993,7 @@ def _parse_format_specifier(format_spec, _localeconv=None):
 
 def _format_align(sign, body, spec):
     """Given an unpadded, non-aligned numeric string 'body' and sign
-    string 'sign', add padding and aligment conforming to the given
+    string 'sign', add padding and alignment conforming to the given
     format specifier dictionary 'spec' (as produced by
     parse_format_specifier).
 
index 6f8bb8a823b80c65984f6199db99f61528c738d0..f5c5905564f690dc36a5d8afef5958bc0283281f 100644 (file)
@@ -17,7 +17,7 @@ class MIMEApplication(MIMENonMultipart):
                  _encoder=encoders.encode_base64, **_params):
         """Create an application/* type MIME document.
 
-        _data is a string containing the raw applicatoin data.
+        _data is a string containing the raw application data.
 
         _subtype is the MIME content type subtype, defaulting to
         'octet-stream'.
index c1cef8efcab27eb94c993e17a837364b96fe412d..72d31a15e3521af78a43b658544d127eb3abfa74 100644 (file)
@@ -599,7 +599,7 @@ else:
         Usage example:
         >>> from ftplib import FTP_TLS
         >>> ftps = FTP_TLS('ftp.python.org')
-        >>> ftps.login()  # login anonimously previously securing control channel
+        >>> ftps.login()  # login anonymously previously securing control channel
         '230 Guest login ok, access restrictions apply.'
         >>> ftps.prot_p()  # switch to secure data connection
         '200 Protection level set to P'
index 9973535ac5029a7717b2b2d32e1426915d7b1936..3f4758034c5283a0ef40eea53284fae61b19fc7d 100644 (file)
@@ -316,7 +316,7 @@ class GNUTranslations(NullTranslations):
             # Note: we unconditionally convert both msgids and msgstrs to
             # Unicode using the character encoding specified in the charset
             # parameter of the Content-Type header.  The gettext documentation
-            # strongly encourages msgids to be us-ascii, but some appliations
+            # strongly encourages msgids to be us-ascii, but some applications
             # require alternative encodings (e.g. Zope's ZCML and ZPT).  For
             # traditional gettext applications, the msgid conversion will
             # cause no problems since us-ascii should always be a subset of
index 5af0d029557ab166866ab0aea229b664ff790c1f..6e72e2c37e9d8f24a22408bbec6a84a4b19b4a04 100644 (file)
@@ -804,7 +804,7 @@ class HTTPConnection:
         del self._buffer[:]
         # If msg and message_body are sent in a single send() call,
         # it will avoid performance problems caused by the interaction
-        # between delayed ack and the Nagle algorithim.
+        # between delayed ack and the Nagle algorithm.
         if isinstance(message_body, str):
             msg += message_body
             message_body = None
index a487302b0964d347be78768a2e826ffdbe9db80a..999952aa2d8a93116e50c956f5f1d594be972846 100644 (file)
@@ -102,8 +102,8 @@ class EditorWindow(object):
         self.top = top = WindowList.ListedToplevel(root, menu=self.menubar)
         if flist:
             self.tkinter_vars = flist.vars
-            #self.top.instance_dict makes flist.inversedict avalable to
-            #configDialog.py so it can access all EditorWindow instaces
+            #self.top.instance_dict makes flist.inversedict available to
+            #configDialog.py so it can access all EditorWindow instances
             self.top.instance_dict = flist.inversedict
         else:
             self.tkinter_vars = {}  # keys: Tkinter event names
index c0faaad872b9f71ca38c96b35639203e55917f59..01d73ed2ba990471d5e81235fae3e9df6c828e24 100644 (file)
@@ -13,7 +13,7 @@ What's New in IDLEfork 0.8.1?
 - New tarball released as a result of the 'revitalisation' of the IDLEfork
   project. 
 
-- This release requires python 2.1 or better. Compatability with earlier
+- This release requires python 2.1 or better. Compatibility with earlier
   versions of python (especially ancient ones like 1.5x) is no longer a
   priority in IDLEfork development.
 
index c81cc831362db854ca6ed196dab67c7403d9e5ca..48d604453fe74c32eeadba5fbcbddca1db68c505 100644 (file)
@@ -163,7 +163,7 @@ class tixCommand:
         extensions) exist, then the image type is chosen according to the
         depth of the X display: xbm images are chosen on monochrome
         displays and color images are chosen on color displays. By using
-        tix_ getimage, you can advoid hard coding the pathnames of the
+        tix_ getimage, you can avoid hard coding the pathnames of the
         image files in your application. When successful, this command
         returns the name of the newly created image, which can be used to
         configure the -image option of the Tk and Tix widgets.
index 1516d79b6eaa97a91cef9dfb9fc37b89a6b59f49..81d3ef2626365fe75e0b70aa55d474188c0ec41e 100644 (file)
@@ -1660,7 +1660,7 @@ class Wm:
 
 class Tk(Misc, Wm):
     """Toplevel widget of Tk which represents mostly the main window
-    of an appliation. It has an associated Tcl interpreter."""
+    of an application. It has an associated Tcl interpreter."""
     _w = '.'
     def __init__(self, screenName=None, baseName=None, className='Tk',
                  useTk=1, sync=0, use=None):
index af7878837ad2f863073e4d1545627a9f75599b61..d0762665ff84e7bacea1bb49a7ae004f160224cc 100644 (file)
@@ -993,7 +993,7 @@ class Panedwindow(Widget, Tkinter.PanedWindow):
         pane is either an integer index or the name of a managed subwindow.
         If kw is not given, returns a dict of the pane option values. If
         option is specified then the value for that option is returned.
-        Otherwise, sets the options to the correspoding values."""
+        Otherwise, sets the options to the corresponding values."""
         if option is not None:
             kw[option] = None
         return _val_or_dict(kw, self.tk.call, self._w, "pane", pane)
index 23e407d3fbe03d2ede7b8ba13f1a36693efb783d..20d6e90dc2bafd978e6e07e971504dbf2d2b524d 100644 (file)
@@ -1385,7 +1385,7 @@ class TurtleScreen(TurtleScreenBase):
         Optional argument:
         picname -- a string, name of a gif-file or "nopic".
 
-        If picname is a filename, set the corresponing image as background.
+        If picname is a filename, set the corresponding image as background.
         If picname is "nopic", delete backgroundimage, if present.
         If picname is None, return the filename of the current backgroundimage.
 
@@ -3221,7 +3221,7 @@ class RawTurtle(TPen, TNavigator):
     def dot(self, size=None, *color):
         """Draw a dot with diameter size, using color.
 
-        Optional argumentS:
+        Optional arguments:
         size -- an integer >= 1 (if given)
         color -- a colorstring or a numeric color tuple
 
index f519b06e55b0fbcbda7c29f5f0bfe94260139fbf..2dc82a90ae175f4de21504bae8b97098b073dcde 100644 (file)
@@ -103,7 +103,7 @@ class NNTP:
 
         readermode is sometimes necessary if you are connecting to an
         NNTP server on the local machine and intend to call
-        reader-specific comamnds, such as `group'.  If you get
+        reader-specific commands, such as `group'.  If you get
         unexpected NNTPPermanentErrors, you might need to set
         readermode.
         """
index 1fa4d325431703733d351af8822fd814a985bb36..ec64936a5d5462e205aaff5b2f01be4a3c40018e 100644 (file)
@@ -5,7 +5,7 @@
 # file handles.
 
 # The point of this example is to show that sys.setrecursionlimit() is a
-# hack, and not a robust solution.  This example simply exercices a path
+# hack, and not a robust solution.  This example simply exercises a path
 # where it takes many C-level recursions, consuming a lot of stack
 # space, for each Python-level recursion.  So 1000 times this amount of
 # stack space may be too much for standard platforms already.
index 8a95f6da35bcb1120021e4ec641acac7cf13fb86..22d170823150eb62094889fc5ad6ac36c1d3bc41 100644 (file)
@@ -252,7 +252,7 @@ if 1:
             self.assertEqual(eval("-" + all_one_bits), -18446744073709551615L)
         else:
             self.fail("How many bits *does* this machine have???")
-        # Verify treatment of contant folding on -(sys.maxint+1)
+        # Verify treatment of constant folding on -(sys.maxint+1)
         # i.e. -2147483648 on 32 bit platforms.  Should return int, not long.
         self.assertIsInstance(eval("%s" % (-sys.maxint - 1)), int)
         self.assertIsInstance(eval("%s" % (-sys.maxint - 2)), long)
index c482cacc2bf08118a390b7f91b079f80284cfc4b..7d8564180f545bab2788362d18aef65ea1f9b493 100644 (file)
@@ -876,7 +876,7 @@ class ClassPropertiesAndMethods(unittest.TestCase):
     # see "A Monotonic Superclass Linearization for Dylan",
     # by Kim Barrett et al. (OOPSLA 1996)
     def test_consistency_with_epg(self):
-        # Testing consistentcy with EPG...
+        # Testing consistency with EPG...
         class Pane(object): pass
         class ScrollingMixin(object): pass
         class EditingMixin(object): pass
index 6f6862055c42842a2ee9e858997ed60feefffa52..6435b61fdb7a46ce53e54128e85b0786010531ef 100644 (file)
@@ -243,7 +243,7 @@ class StatAttributeTests(unittest.TestCase):
         except TypeError:
             pass
 
-        # Use the constructr with a too-long tuple.
+        # Use the constructor with a too-long tuple.
         try:
             result2 = os.stat_result((0,1,2,3,4,5,6,7,8,9,10,11,12,13,14))
         except TypeError:
@@ -290,7 +290,7 @@ class StatAttributeTests(unittest.TestCase):
         except TypeError:
             pass
 
-        # Use the constructr with a too-long tuple.
+        # Use the constructor with a too-long tuple.
         try:
             result2 = os.statvfs_result((0,1,2,3,4,5,6,7,8,9,10,11,12,13,14))
         except TypeError:
index f978086dbc738d995f150f6771c224820f721f8a..6d065271120b4bb94cc5128525231f4ba5a9bbeb 100644 (file)
@@ -7,7 +7,7 @@ from weakref import proxy
 # Misc tests from Tim Peters' re.doc
 
 # WARNING: Don't change details in these tests if you don't know
-# what you're doing. Some of these tests were carefuly modeled to
+# what you're doing. Some of these tests were carefully modeled to
 # cover most of the code.
 
 import unittest
index 7947e43e9efdc64b556da3863796fa7716e34ac9..0d07b913942f2a88ad9246c96cb127f76c7171e7 100644 (file)
@@ -176,7 +176,7 @@ class ModuleTest(unittest.TestCase):
         # test all parameters used
         class CheckAllUsedFormatter(string.Formatter):
             def check_unused_args(self, used_args, args, kwargs):
-                # Track which arguments actuallly got used
+                # Track which arguments actually got used
                 unused_args = set(kwargs.keys())
                 unused_args.update(range(0, len(args)))
 
index 693d1715dfc07322d8e94a66a56e528f5337e4c5..1712fd2120ebf56bb12d02fc3dd3b928155615fd 100644 (file)
@@ -1446,7 +1446,7 @@ class ElementInfo(object):
         return False
 
     def isId(self, aname):
-        """Returns true iff the named attribte is a DTD-style ID."""
+        """Returns true iff the named attribute is a DTD-style ID."""
         return False
 
     def isIdNS(self, namespaceURI, localName):
index f0b3f3ff5b570498820869fae3b8ea9a30612db6..0a0c0d6e5d32ceefd54c81f475813b8d8bf1c87f 100755 (executable)
@@ -100,7 +100,7 @@ UNIVERSALARCHS = '32-bit'
 
 ARCHLIST = universal_opts_map[UNIVERSALARCHS]
 
-# Source directory (asume we're in Mac/BuildScript)
+# Source directory (assume we're in Mac/BuildScript)
 SRCDIR = os.path.dirname(
         os.path.dirname(
             os.path.dirname(
index 08e069b03cb43b51fa5cd14f80728c08cd37efa3..76734c106329212b6031c969abd0d8205c6febc2 100644 (file)
@@ -103,8 +103,8 @@ setup_spawnattr(posix_spawnattr_t* spawnattr)
 
     count = 1;
 
-    /* Run the real python executable using the same architure as this
-     * executable, this allows users to controle the architecture using
+    /* Run the real python executable using the same architecture as this
+     * executable, this allows users to control the architecture using
      * "arch -ppc python"
      */
 
index 5a7b8a6b11a7a29411cc29cd0a0fba1265813954..a1f620f924e8aa838f08b3f359e7d33e67533f6f 100644 (file)
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -416,6 +416,7 @@ Kurt B. Kaiser
 Tamito Kajiyama
 Peter van Kampen
 Jacob Kaplan-Moss
+Piotr Kasprzyk
 Lou Kates
 Hiroaki Kawai
 Sebastien Keim
index 39fcd16f146d3c5ed8d35eb3b20617e54f9a1379..5f623996618dba0c5cbf5400e9dae6a4b2661aad 100644 (file)
@@ -54,7 +54,7 @@
   So, there are 4 data structures holding processed arguments:
   - the inargs tuple (in PyCFuncPtr_call)
   - the callargs tuple (in PyCFuncPtr_call)
-  - the 'struct argguments' array
+  - the 'struct arguments' array
   - the 'void *' array
 
  */
index 00ba7efc1dffb1a62c71b12b2f83d2d077877fa7..78853c42f56eaddf8ca7087b78cdbefccef2326c 100644 (file)
 
 2003-09-18  Kaz Kojima  <kkojima@gcc.gnu.org>
 
-       * src/sh/ffi.c (ffi_prep_args): Take account into the alignement
+       * src/sh/ffi.c (ffi_prep_args): Take account into the alignment
        for the register size.
        (ffi_closure_helper_SYSV): Handle the structure return value
        address correctly.
 2003-02-06  Andreas Tobler <a.tobler@schweiz.ch>
 
        * libffi/src/powerpc/darwin_closure.S:
-       Fix alignement bug, allocate 8 bytes for the result.
+       Fix alignment bug, allocate 8 bytes for the result.
        * libffi/src/powerpc/aix_closure.S:
        Likewise.
        * libffi/src/powerpc/ffi_darwin.c:
index 783c5c2a6f978852200a8a9d307c11b40761d579..72673a1bc7422fa899938759c0b425c77d230b80 100644 (file)
@@ -1326,7 +1326,7 @@ static void* win32direct_mmap(size_t size) {
   return (ptr != 0)? ptr: MFAIL;
 }
 
-/* This function supports releasing coalesed segments */
+/* This function supports releasing coalesced segments */
 static int win32munmap(void* ptr, size_t size) {
   MEMORY_BASIC_INFORMATION minfo;
   char* cptr = ptr;
@@ -1362,7 +1362,7 @@ static int win32munmap(void* ptr, size_t size) {
 #define CALL_MORECORE(S)     MFAIL
 #endif /* HAVE_MORECORE */
 
-/* mstate bit set if continguous morecore disabled or failed */
+/* mstate bit set if contiguous morecore disabled or failed */
 #define USE_NONCONTIGUOUS_BIT (4U)
 
 /* segment bit set in create_mspace_with_base */
index d84f1c393a8d5b2c6f489cf799ce74fa27b58330..5e7772068ad721e18ee3f35a5565c1ee54766275 100644 (file)
@@ -592,7 +592,7 @@ typedef struct aix_fd_struct {
                  +---------------------------------------+ 160
                  | result area 8                         |
                  +---------------------------------------+ 168
-                 | alignement to the next multiple of 16 |
+                 | alignment to the next multiple of 16  |
 SP current -->    +---------------------------------------+ 176 <- parent frame
                  | back chain to caller 4                |
                  +---------------------------------------+ 180
index 8953d5fda35818334123c592a031f4fad773a00d..dba2184099a255452218f5bbe50134a443e93398 100644 (file)
@@ -650,7 +650,7 @@ ffi_call(
                  +---------------------------------------+ 160
                  | result area 8                         |
                  +---------------------------------------+ 168
-                 | alignement to the next multiple of 16 |
+                 | alignment to the next multiple of 16  |
 SP current -->    +---------------------------------------+ 176 <- parent frame
                  | back chain to caller 4                |
                  +---------------------------------------+ 180
index 949e5b094d429047039474e4abdd221a403fae4f..495114b9a19a9b01bfd4860758a30cd9204cd512 100644 (file)
@@ -11,7 +11,7 @@ annotated by François Pinard, and converted to C by Raymond Hettinger.
 /* Older implementations of heapq used Py_LE for comparisons.  Now, it uses
    Py_LT so it will match min(), sorted(), and bisect().  Unfortunately, some
    client code (Twisted for example) relied on Py_LE, so this little function
-   restores compatability by trying both.
+   restores compatibility by trying both.
 */
 static int
 cmp_lt(PyObject *x, PyObject *y)
index 71e71dd0e239f4fb5e92a1cba3eaab67411d2b0d..c158ebab92f2a4c4763da44e1c8ea094fd0097ee 100644 (file)
@@ -1162,7 +1162,7 @@ whichtable(char **pfmt)
     case '>':
     case '!': /* Network byte order is big-endian */
         return bigendian_table;
-    case '=': { /* Host byte order -- different from native in aligment! */
+    case '=': { /* Host byte order -- different from native in alignment! */
         int n = 1;
         char *p = (char *) &n;
         if (*p == 1)
index f0ac5e9290617a265e979f3b6146557824b09629..632475c986f236a8f36d7676182b19051aca2c15 100644 (file)
@@ -1629,7 +1629,7 @@ validate_expr_stmt(node *tree)
                    || strcmp(s, ">>=") == 0
                    || strcmp(s, "**=") == 0);
             if (!res)
-                err_string("illegal augmmented assignment operator");
+                err_string("illegal augmented assignment operator");
         }
     }
     else {
index 53a833c48de0762c0a5ca92abf402d307a7bffdd..79e6babcd19dfd4f32a9aa33cae27214f2c62292 100644 (file)
@@ -447,7 +447,7 @@ _ldict(localobject *self)
                                    self->args, self->kw) < 0) {
             /* we need to get rid of ldict from thread so
                we create a new one the next time we do an attr
-               acces */
+               access */
             PyDict_DelItem(tdict, self->key);
             return NULL;
         }
index c9acb7d98be87adc630e97e1d78303a0cde26eed..0ca97887db60e47d867e4e4e4c4c246d34685be7 100644 (file)
@@ -1106,7 +1106,7 @@ get_code_from_data(ZipImporter *self, int ispackage, int isbytecode,
     return code;
 }
 
-/* Get the code object assoiciated with the module specified by
+/* Get the code object associated with the module specified by
    'fullname'. */
 static PyObject *
 get_module_code(ZipImporter *self, char *fullname,
index 86093955d8b30b5d21c0134040bf5685a79894e6..6c64b574c448df0b50845592ccb945f281c7797e 100644 (file)
@@ -2291,7 +2291,7 @@ bytearray_extend(PyByteArrayObject *self, PyObject *arg)
     if (it == NULL)
         return NULL;
 
-    /* Try to determine the length of the argument. 32 is abitrary. */
+    /* Try to determine the length of the argument. 32 is arbitrary. */
     buf_size = _PyObject_LengthHint(arg, 32);
     if (buf_size == -1) {
         Py_DECREF(it);
index fbd18a2dacfd874f85b860b520f300bc3529f3e0..05d44b39dc276b826d4b9fef2814de3b74913bd3 100644 (file)
@@ -2895,7 +2895,7 @@ ah*bh and al*bl too.
  * of slices, each with a->ob_size digits, and multiply the slices by a,
  * one at a time.  This gives k_mul balanced inputs to work with, and is
  * also cache-friendly (we compute one double-width slice of the result
- * at a time, then move on, never bactracking except for the helpful
+ * at a time, then move on, never backtracking except for the helpful
  * single-width slice overlap between successive partial sums).
  */
 static PyLongObject *
index e7bf724b39517a7b23726df511177a23a561fa7c..075fa1dee96df71057aaf7f2d2cbb5a4b126e197 100644 (file)
@@ -6,7 +6,7 @@
 */
 
 
-/* Defines for Python 2.6 compatability */
+/* Defines for Python 2.6 compatibility */
 #if PY_VERSION_HEX < 0x03000000
 #define PyLong_FromSsize_t _PyLong_FromSsize_t
 #endif
index 6d3ca8eb82d782b0d0756be7f020419447f28dc0..0a7e78df6d845ffb3b18ae4bb20a289a1439aa8e 100644 (file)
@@ -744,7 +744,7 @@ PyObject *PyString_DecodeEscape(const char *s,
         default:
             *p++ = '\\';
             s--;
-            goto non_esc; /* an arbitry number of unescaped
+            goto non_esc; /* an arbitrary number of unescaped
                              UTF-8 bytes may follow. */
         }
     }
index d5472ef9d56c38337e96af69f083613e70cadd52..f0230190d4b8e4d82037d3cc6f4fe7bd55ed851f 100644 (file)
@@ -62,7 +62,7 @@
  * instead showing the user an empty listbox to select something from.
  *
  * Finish the code so that we can use other python installations
- * additionaly to those found in the registry,
+ * additionally to those found in the registry,
  * and then #define USE_OTHER_PYTHON_VERSIONS
  *
  *  - install a help-button, which will display something meaningful
index 1dc2512851e906bcad76ff35cc11fa6575795820..88be7db68f6c45b0b2b29caff80bc89044c00a67 100644 (file)
@@ -725,7 +725,7 @@ PyErr_WarnEx(PyObject *category, const char *text, Py_ssize_t stack_level)
     return 0;
 }
 
-/* PyErr_Warn is only for backwards compatability and will be removed.
+/* PyErr_Warn is only for backwards compatibility and will be removed.
    Use PyErr_WarnEx instead. */
 
 #undef PyErr_Warn
index 56e70e61bbce3cc63b6a6db1bfdfa91734e5c525..eeb18f360af1cc5dd2cdb3a4cacf16dbd5921ab2 100644 (file)
@@ -560,7 +560,7 @@ PyDoc_STRVAR(getwindowsversion_doc,
 Return information about the running version of Windows as a named tuple.\n\
 The members are named: major, minor, build, platform, service_pack,\n\
 service_pack_major, service_pack_minor, suite_mask, and product_type. For\n\
-backward compatibiliy, only the first 5 items are available by indexing.\n\
+backward compatibility, only the first 5 items are available by indexing.\n\
 All elements are numbers, except service_pack which is a string. Platform\n\
 may be 0 for win32s, 1 for Windows 9x/ME, 2 for Windows NT/2000/XP/Vista/7,\n\
 3 for Windows CE. Product_type may be 1 for a workstation, 2 for a domain\n\
index a1f67b84db3d15271beedb6ba0967dfe59d5c3b4..5679fdb9a36ce2e434c795a15ad85e2934e7e6bb 100644 (file)
@@ -176,7 +176,7 @@ mingw_lib = os.path.join(srcdir, PCBUILD, "libpython%s%s.a" % (major, minor))
 
 have_mingw = build_mingw_lib(lib_file, def_file, dll_file, mingw_lib)
 
-# Determine the target architechture
+# Determine the target architecture
 dll_path = os.path.join(srcdir, PCBUILD, dll_file)
 msilib.set_arch_from_file(dll_path)
 if msilib.pe_type(dll_path) != msilib.pe_type("msisupport.dll"):
index 9dee73194a71318ba958050bf088958e7d58cc1e..76f146875dc021aa6aa052cdccc9059080c013a5 100755 (executable)
@@ -689,7 +689,7 @@ class Benchmark:
                 other_total_avg_time = other_total_avg_time + other_avg_time
                 if (benchmarks_compatible and
                     test.compatible(other)):
-                    # Both benchmark and tests are comparible
+                    # Both benchmark and tests are comparable
                     min_diff = ((min_time * self.warp) /
                                 (other_min_time * other.warp) - 1.0)
                     avg_diff = ((avg_time * self.warp) /
@@ -703,7 +703,7 @@ class Benchmark:
                     else:
                         avg_diff = '%+5.1f%%' % (avg_diff * PERCENT)
                 else:
-                    # Benchmark or tests are not comparible
+                    # Benchmark or tests are not comparable
                     min_diff, avg_diff = 'n/a', 'n/a'
                     tests_compatible = 0
             print '%30s: %5.0fms %5.0fms %7s %5.0fms %5.0fms %7s' % \
index f947478014926454e70d9cfca1a323fbb8dbeb77..aa1c6b5c4154cf417db450ccfadab05b31dd627c 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -935,7 +935,7 @@ class PyBuildExt(build_ext):
                                 tmp.append(dn)
                     db_dirs_to_check = tmp
 
-                # Look for a version specific db-X.Y before an ambiguoius dbX
+                # Look for a version specific db-X.Y before an ambiguous dbX
                 # XXX should we -ever- look for a dbX name?  Do any
                 # systems really not name their library by version and
                 # symlink to more general names?