summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-06-24 06:41:19 +0000
committerGeorg Brandl <georg@python.org>2009-06-24 06:41:19 +0000
commitb6237d49a54c4afda5bdf5bb6387e8e1287fb784 (patch)
treeb910bf59129912b52d72cfd18b57a539e3363426
parent4866cc856c474c50418fbf6f654762924ace4b8f (diff)
downloadcpython-b6237d49a54c4afda5bdf5bb6387e8e1287fb784.tar.gz
#6332: fix word dupes throughout the source.
-rw-r--r--Doc/using/cmdline.rst2
-rw-r--r--Misc/HISTORY6
-rw-r--r--Misc/NEWS2
-rw-r--r--Misc/Porting2
-rw-r--r--Misc/cheatsheet2
-rw-r--r--Misc/developers.txt2
-rw-r--r--Misc/python.man2
7 files changed, 9 insertions, 9 deletions
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst
index 55fe957fb6..3c482a1354 100644
--- a/Doc/using/cmdline.rst
+++ b/Doc/using/cmdline.rst
@@ -328,7 +328,7 @@ Miscellaneous options
warning is triggered repeatedly for the same source line, such as inside a
loop).
``module``
- Print each warning only only the first time it occurs in each module.
+ Print each warning only the first time it occurs in each module.
``once``
Print each warning only the first time it occurs in the program.
``error``
diff --git a/Misc/HISTORY b/Misc/HISTORY
index 14f283d92d..127b782c1f 100644
--- a/Misc/HISTORY
+++ b/Misc/HISTORY
@@ -16184,7 +16184,7 @@ people seemed not to have picked it up. There's a Python script that
fixes old code: demo/scripts/classfix.py.
* There's a new reserved word: "access". The syntax and semantics are
-still subject of of research and debate (as well as undocumented), but
+still subject of research and debate (as well as undocumented), but
the parser knows about the keyword so you must not use it as a
variable, function, or attribute name.
@@ -16434,7 +16434,7 @@ you could get away with the following:
(a) define a function of one argument and call it with any
number of arguments; if the actual argument count wasn't
one, the function would receive a tuple containing the
- arguments arguments (an empty tuple if there were none).
+ arguments (an empty tuple if there were none).
(b) define a function of two arguments, and call it with more
than two arguments; if there were more than two arguments,
@@ -16756,7 +16756,7 @@ Changes to the source code that affect C extension writers
----------------------------------------------------------
The function strdup() no longer exists (it was used only in one places
-and is somewhat of a a portability problem sice some systems have the
+and is somewhat of a portability problem since some systems have the
same function in their C library.
The functions NEW() and RENEW() allocate one spare byte to guard
diff --git a/Misc/NEWS b/Misc/NEWS
index ce03cf33be..c9c9b55d95 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -3794,7 +3794,7 @@ Library
- Bug #1565661: in webbrowser, split() the command for the default
GNOME browser in case it is a command with args.
-- Made the error message for time.strptime when the data data and
+- Made the error message for time.strptime when the data and
format do match be more clear.
- Fix a bug in traceback.format_exception_only() that led to an error
diff --git a/Misc/Porting b/Misc/Porting
index 60ce9a8241..1b94f141e9 100644
--- a/Misc/Porting
+++ b/Misc/Porting
@@ -37,6 +37,6 @@ options.
Then bang on it until it executes very simple Python statements.
Now bang on it some more. At some point you'll want to use the os
-module; this is the time to start thinking about what to to with the
+module; this is the time to start thinking about what to do with the
posix module. It's okay to simply #ifdef out those functions that
cause problems; the remaining ones will be quite useful.
diff --git a/Misc/cheatsheet b/Misc/cheatsheet
index df69f244f6..98e3399ff9 100644
--- a/Misc/cheatsheet
+++ b/Misc/cheatsheet
@@ -1145,7 +1145,7 @@ Exception>
Standard methods & operators redefinition in classes
Standard methods & operators map to special '__methods__' and thus may be
- redefined (mostly in in user-defined classes), e.g.:
+ redefined (mostly in user-defined classes), e.g.:
class x:
def __init__(self, v): self.value = v
def __add__(self, r): return self.value + r
diff --git a/Misc/developers.txt b/Misc/developers.txt
index b52e14ad44..d9c7870769 100644
--- a/Misc/developers.txt
+++ b/Misc/developers.txt
@@ -62,7 +62,7 @@ Permissions History
- Heiko Weinen was given SVN access on 29 April 2008 by MvL,
for GSoC contributions.
-- Jesus Cea was was given SVN access on 24 April 2008 by MvL,
+- Jesus Cea was given SVN access on 24 April 2008 by MvL,
for maintenance of bsddb.
- Guilherme Polo was given SVN access on 24 April 2008 by MvL,
diff --git a/Misc/python.man b/Misc/python.man
index 1564f8d754..5a8e230e57 100644
--- a/Misc/python.man
+++ b/Misc/python.man
@@ -204,7 +204,7 @@ to print a warning each time it occurs (this may generate many
messages if a warning is triggered repeatedly for the same source
line, such as inside a loop);
.B module
-to print each warning only only the first time it occurs in each
+to print each warning only the first time it occurs in each
module;
.B once
to print each warning only the first time it occurs in the program; or