summaryrefslogtreecommitdiffstats
path: root/Modules/regexpr.h
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2000-07-16 12:04:32 (GMT)
committerThomas Wouters <thomas@python.org>2000-07-16 12:04:32 (GMT)
commit7e47402264cf87b9bbb61fc9ff610af08add7c7b (patch)
tree8103f0f2df8ca09de0b8cfd9d38b4982c6993f16 /Modules/regexpr.h
parentc533e4a01207f74b9c4f9a7414631a3c7b711595 (diff)
downloadcpython-7e47402264cf87b9bbb61fc9ff610af08add7c7b.zip
cpython-7e47402264cf87b9bbb61fc9ff610af08add7c7b.tar.gz
cpython-7e47402264cf87b9bbb61fc9ff610af08add7c7b.tar.bz2
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 'Modules/regexpr.h')
-rw-r--r--Modules/regexpr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/regexpr.h b/Modules/regexpr.h
index dd66325..2aee62d 100644
--- a/Modules/regexpr.h
+++ b/Modules/regexpr.h
@@ -119,7 +119,7 @@ int re_match(regexp_t compiled, unsigned char *string, int size, int pos,
int re_search(regexp_t compiled, unsigned char *string, int size, int startpos,
int range, regexp_registers_t regs);
-/* This rearches for a substring matching the regexp. This returns the
+/* This searches for a substring matching the regexp. This returns the
* first index at which a match is found. range specifies at how many
* positions to try matching; positive values indicate searching
* forwards, and negative values indicate searching backwards. mstop