]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #19504: Used American spelling for 'customize'.
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Fri, 15 Nov 2013 20:58:13 +0000 (20:58 +0000)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Fri, 15 Nov 2013 20:58:13 +0000 (20:58 +0000)
Doc/howto/logging-cookbook.rst
Doc/library/logging.handlers.rst
Doc/library/logging.rst
Lib/venv/__init__.py
PC/launcher.c

index cc3c26a2321e48463a086a29a3ff368a31466552..3f256e1de3e6aea6693c451a3d34070554b7f128 100644 (file)
@@ -1098,7 +1098,7 @@ Python 3.2 or later.
 
 .. _custom-logrecord:
 
-Customising ``LogRecord``
+Customizing ``LogRecord``
 -------------------------
 
 Every logging event is represented by a :class:`LogRecord` instance.
@@ -1315,7 +1315,7 @@ of the Django documentation.
 
 .. _cookbook-rotator-namer:
 
-Using a rotator and namer to customise log rotation processing
+Using a rotator and namer to customize log rotation processing
 --------------------------------------------------------------
 
 An example of how you can define a namer and rotator is given in the following
@@ -1696,14 +1696,14 @@ Python used.
 
 .. currentmodule:: logging.config
 
-Customising handlers with :func:`dictConfig`
+Customizing handlers with :func:`dictConfig`
 --------------------------------------------
 
-There are times when you want to customise logging handlers in particular ways,
+There are times when you want to customize logging handlers in particular ways,
 and if you use :func:`dictConfig` you may be able to do this without
 subclassing. As an example, consider that you may want to set the ownership of a
 log file. On POSIX, this is easily done using :func:`shutil.chown`, but the file
-handlers in the stdlib don't offer built-in support. You can customise handler
+handlers in the stdlib don't offer built-in support. You can customize handler
 creation using a plain function such as::
 
     def owned_file_handler(filename, mode='a', encoding=None, owner=None):
index 81addb39089d4d172931003af403299f780e2a03..d0dc5721bab9fd3a8b1383f4c9948f33870c1513 100644 (file)
@@ -892,7 +892,7 @@ possible, while any potentially slow operations (such as sending an email via
 
       Enqueues the record on the queue using ``put_nowait()``; you may
       want to override this if you want to use blocking behaviour, or a
-      timeout, or a customised queue implementation.
+      timeout, or a customized queue implementation.
 
 
 
index fc5f80520264b0952eae75f3cb22e151cb48310a..e9df25eea75b12522b1570f9f38480ec1e6ac010 100644 (file)
@@ -845,8 +845,8 @@ functions.
 
    Return either the standard :class:`Logger` class, or the last class passed to
    :func:`setLoggerClass`. This function may be called from within a new class
-   definition, to ensure that installing a customised :class:`Logger` class will
-   not undo customisations already applied by other code. For example::
+   definition, to ensure that installing a customized :class:`Logger` class will
+   not undo customizations already applied by other code. For example::
 
       class MyLogger(logging.getLoggerClass()):
           # ... override behaviour here
index e219fe99e3e7cb5ffa996662ab4ec2981631eae3..3606370e8647fbefb8b390bf5405216738e85fb2 100644 (file)
@@ -38,7 +38,7 @@ logger = logging.getLogger(__name__)
 class EnvBuilder:
     """
     This class exists to allow virtual environment creation to be
-    customised. The constructor parameters determine the builder's
+    customized. The constructor parameters determine the builder's
     behaviour when called upon to create a virtual environment.
 
     By default, the builder makes the system (global) site-packages dir
index 445e96e573781d8c10f7589c856991a1cb5620e7..216a5626039a23933e495877eab87c4e0ee0ca9b 100644 (file)
@@ -807,10 +807,10 @@ parse_shebang(wchar_t * shebang_line, int nchars, wchar_t ** command,
             }
             if (*vpp == NULL) {
                 /*
-                 * Not found in builtins - look in customised commands.
+                 * Not found in builtins - look in customized commands.
                  *
                  * We can't permanently modify the shebang line in case
-                 * it's not a customised command, but we can temporarily
+                 * it's not a customized command, but we can temporarily
                  * stick a NUL after the command while searching for it,
                  * then put back the char we zapped.
                  */