summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2016-08-26 04:11:50 (GMT)
committerRaymond Hettinger <python@rcn.com>2016-08-26 04:11:50 (GMT)
commit7ea386e56e76deb2ceeb87c0ac4b346e24cd82e1 (patch)
tree3fb6addb93c15d15b06bc8ba7dfc37a91e560b9c /Lib
parent39e9af6bb3fdd0dd59292b5a014d398956f0b7cd (diff)
downloadcpython-7ea386e56e76deb2ceeb87c0ac4b346e24cd82e1.zip
cpython-7ea386e56e76deb2ceeb87c0ac4b346e24cd82e1.tar.gz
cpython-7ea386e56e76deb2ceeb87c0ac4b346e24cd82e1.tar.bz2
Issue 19504: Change "customise" to "customize" American spelling.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/http/cookiejar.py2
-rw-r--r--Lib/test/cfgparser.22
-rw-r--r--Lib/test/test_gdb.py2
-rw-r--r--Lib/unittest/test/test_discovery.py2
4 files changed, 4 insertions, 4 deletions
diff --git a/Lib/http/cookiejar.py b/Lib/http/cookiejar.py
index 4466d2e..6d4572a 100644
--- a/Lib/http/cookiejar.py
+++ b/Lib/http/cookiejar.py
@@ -833,7 +833,7 @@ class CookiePolicy:
May also modify cookies, though this is probably a bad idea.
The subclass DefaultCookiePolicy defines the standard rules for Netscape
- and RFC 2965 cookies -- override that if you want a customised policy.
+ and RFC 2965 cookies -- override that if you want a customized policy.
"""
def set_ok(self, cookie, request):
diff --git a/Lib/test/cfgparser.2 b/Lib/test/cfgparser.2
index 1646de8..cfcfef2 100644
--- a/Lib/test/cfgparser.2
+++ b/Lib/test/cfgparser.2
@@ -129,7 +129,7 @@
# Unix users can map to different SMB User names
; username map = /etc/samba/smbusers
-# Using the following line enables you to customise your configuration
+# Using the following line enables you to customize your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
; include = /etc/samba/smb.conf.%m
diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py
index cd7d292..33d7dc5 100644
--- a/Lib/test/test_gdb.py
+++ b/Lib/test/test_gdb.py
@@ -91,7 +91,7 @@ if not gdbpy_version:
raise unittest.SkipTest("gdb not built with embedded python support")
# Verify that "gdb" can load our custom hooks, as OS security settings may
-# disallow this without a customised .gdbinit.
+# disallow this without a customized .gdbinit.
_, gdbpy_errors = run_gdb('--args', sys.executable)
if "auto-loading has been declined" in gdbpy_errors:
msg = "gdb security settings prevent use of custom hooks: "
diff --git a/Lib/unittest/test/test_discovery.py b/Lib/unittest/test/test_discovery.py
index bb196e6..8f4017f 100644
--- a/Lib/unittest/test/test_discovery.py
+++ b/Lib/unittest/test/test_discovery.py
@@ -275,7 +275,7 @@ class TestDiscovery(unittest.TestCase):
self.assertEqual(Module.load_tests_args,
[(loader, [], 'test*.py')])
- def test_find_tests_customise_via_package_pattern(self):
+ def test_find_tests_customize_via_package_pattern(self):
# This test uses the example 'do-nothing' load_tests from
# https://docs.python.org/3/library/unittest.html#load-tests-protocol
# to make sure that that actually works.