Removed spaces before colons and semicolons.
diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst
index e09c53e..2c36e64 100644
--- a/Doc/library/ctypes.rst
+++ b/Doc/library/ctypes.rst
@@ -215,7 +215,7 @@
Fundamental data types
^^^^^^^^^^^^^^^^^^^^^^
-:mod:`ctypes` defines a number of primitive C compatible data types :
+:mod:`ctypes` defines a number of primitive C compatible data types:
+----------------------+------------------------------------------+----------------------------+
| ctypes type | C type | Python type |
diff --git a/Doc/library/rexec.rst b/Doc/library/rexec.rst
index 6b6923c..12f6faa 100644
--- a/Doc/library/rexec.rst
+++ b/Doc/library/rexec.rst
@@ -270,7 +270,7 @@
if mode in ('r', 'rb'):
pass
elif mode in ('w', 'wb', 'a', 'ab'):
- # check filename : must begin with /tmp/
+ # check filename: must begin with /tmp/
if file[:5]!='/tmp/':
raise IOError("can't write outside /tmp")
elif (string.find(file, '/../') >= 0 or
diff --git a/Doc/library/simplexmlrpcserver.rst b/Doc/library/simplexmlrpcserver.rst
index 62139c4..1dc6817 100644
--- a/Doc/library/simplexmlrpcserver.rst
+++ b/Doc/library/simplexmlrpcserver.rst
@@ -247,7 +247,7 @@
Example::
class MyFuncs:
- def div(self, x, y) : return x // y
+ def div(self, x, y): return x // y
handler = CGIXMLRPCRequestHandler()
diff --git a/Doc/library/telnetlib.rst b/Doc/library/telnetlib.rst
index ff73796..a3019f5 100644
--- a/Doc/library/telnetlib.rst
+++ b/Doc/library/telnetlib.rst
@@ -208,7 +208,7 @@
.. method:: Telnet.set_option_negotiation_callback(callback)
Each time a telnet option is read on the input flow, this *callback* (if set) is
- called with the following parameters : callback(telnet socket, command
+ called with the following parameters: callback(telnet socket, command
(DO/DONT/WILL/WONT), option). No other action is done afterwards by telnetlib.
diff --git a/Doc/library/tkinter.rst b/Doc/library/tkinter.rst
index 3d40c77..f2a419d 100644
--- a/Doc/library/tkinter.rst
+++ b/Doc/library/tkinter.rst
@@ -452,7 +452,7 @@
Example::
>>> print fred.config()
- {'relief' : ('relief', 'relief', 'Relief', 'raised', 'groove')}
+ {'relief': ('relief', 'relief', 'Relief', 'raised', 'groove')}
Of course, the dictionary printed will include all the options available and
their values. This is meant only as an example.