Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 56b0435

Browse files
committed
Issue #19504: Used American spelling for 'customize'.
2 parents 5e75829 + 9c10d6b commit 56b0435

5 files changed

Lines changed: 11 additions & 11 deletions

File tree

Doc/howto/logging-cookbook.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1096,7 +1096,7 @@ Python 3.2 or later.
10961096

10971097
.. _custom-logrecord:
10981098

1099-
Customising ``LogRecord``
1099+
Customizing ``LogRecord``
11001100
-------------------------
11011101

11021102
Every logging event is represented by a :class:`LogRecord` instance.
@@ -1313,7 +1313,7 @@ of the Django documentation.
13131313

13141314
.. _cookbook-rotator-namer:
13151315

1316-
Using a rotator and namer to customise log rotation processing
1316+
Using a rotator and namer to customize log rotation processing
13171317
--------------------------------------------------------------
13181318

13191319
An example of how you can define a namer and rotator is given in the following
@@ -1694,14 +1694,14 @@ Python used.
16941694

16951695
.. currentmodule:: logging.config
16961696

1697-
Customising handlers with :func:`dictConfig`
1697+
Customizing handlers with :func:`dictConfig`
16981698
--------------------------------------------
16991699

1700-
There are times when you want to customise logging handlers in particular ways,
1700+
There are times when you want to customize logging handlers in particular ways,
17011701
and if you use :func:`dictConfig` you may be able to do this without
17021702
subclassing. As an example, consider that you may want to set the ownership of a
17031703
log file. On POSIX, this is easily done using :func:`shutil.chown`, but the file
1704-
handlers in the stdlib don't offer built-in support. You can customise handler
1704+
handlers in the stdlib don't offer built-in support. You can customize handler
17051705
creation using a plain function such as::
17061706

17071707
def owned_file_handler(filename, mode='a', encoding=None, owner=None):

Doc/library/logging.handlers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,7 @@ possible, while any potentially slow operations (such as sending an email via
904904

905905
Enqueues the record on the queue using ``put_nowait()``; you may
906906
want to override this if you want to use blocking behaviour, or a
907-
timeout, or a customised queue implementation.
907+
timeout, or a customized queue implementation.
908908

909909

910910

Doc/library/logging.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -845,8 +845,8 @@ functions.
845845

846846
Return either the standard :class:`Logger` class, or the last class passed to
847847
:func:`setLoggerClass`. This function may be called from within a new class
848-
definition, to ensure that installing a customised :class:`Logger` class will
849-
not undo customisations already applied by other code. For example::
848+
definition, to ensure that installing a customized :class:`Logger` class will
849+
not undo customizations already applied by other code. For example::
850850

851851
class MyLogger(logging.getLoggerClass()):
852852
# ... override behaviour here

Lib/venv/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
class EnvBuilder:
3939
"""
4040
This class exists to allow virtual environment creation to be
41-
customised. The constructor parameters determine the builder's
41+
customized. The constructor parameters determine the builder's
4242
behaviour when called upon to create a virtual environment.
4343
4444
By default, the builder makes the system (global) site-packages dir

PC/launcher.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -878,10 +878,10 @@ parse_shebang(wchar_t * shebang_line, int nchars, wchar_t ** command,
878878
}
879879
if (vpp->shebang == NULL) {
880880
/*
881-
* Not found in builtins - look in customised commands.
881+
* Not found in builtins - look in customized commands.
882882
*
883883
* We can't permanently modify the shebang line in case
884-
* it's not a customised command, but we can temporarily
884+
* it's not a customized command, but we can temporarily
885885
* stick a NUL after the command while searching for it,
886886
* then put back the char we zapped.
887887
*/

0 commit comments

Comments
 (0)