summaryrefslogtreecommitdiff
path: root/Lib/sre_constants.py
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2000-07-16 12:04:32 +0000
committerThomas Wouters <thomas@python.org>2000-07-16 12:04:32 +0000
commit764fa07469563f448c0ab6a20dad3943e4231ce5 (patch)
tree44b099de81d99a0e892ef5afbf5f49abf2dd98aa /Lib/sre_constants.py
parent68d8117162e83550ba7f5c949f6fbea19d1d3cc0 (diff)
downloadcpython-764fa07469563f448c0ab6a20dad3943e4231ce5.tar.gz
Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either
comments, docstrings or error messages. I fixed two minor things in test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't"). There is a minor style issue involved: Guido seems to have preferred English grammar (behaviour, honour) in a couple places. This patch changes that to American, which is the more prominent style in the source. I prefer English myself, so if English is preferred, I'd be happy to supply a patch myself ;)
Diffstat (limited to 'Lib/sre_constants.py')
-rw-r--r--Lib/sre_constants.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sre_constants.py b/Lib/sre_constants.py
index ef32c32bc3..c2cecdf7ff 100644
--- a/Lib/sre_constants.py
+++ b/Lib/sre_constants.py
@@ -172,7 +172,7 @@ CH_UNICODE = {
# flags
SRE_FLAG_TEMPLATE = 1 # template mode (disable backtracking)
SRE_FLAG_IGNORECASE = 2 # case insensitive
-SRE_FLAG_LOCALE = 4 # honour system locale
+SRE_FLAG_LOCALE = 4 # honor system locale
SRE_FLAG_MULTILINE = 8 # treat target as multiline string
SRE_FLAG_DOTALL = 16 # treat target as a single string
SRE_FLAG_UNICODE = 32 # use unicode locale