summaryrefslogtreecommitdiffstats
path: root/Doc/faq
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-12-24 09:04:06 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-12-24 09:04:06 (GMT)
commitb712873a63fb0b0776d86dab5436ff8952eba02c (patch)
treec67bb711363f9e58dcc06bee95cf430b984dd03d /Doc/faq
parent610f84af0d810f4d43336ca4f8408d60655d5bf2 (diff)
downloadcpython-b712873a63fb0b0776d86dab5436ff8952eba02c.zip
cpython-b712873a63fb0b0776d86dab5436ff8952eba02c.tar.gz
cpython-b712873a63fb0b0776d86dab5436ff8952eba02c.tar.bz2
Removed spaces before colons and semicolons.
Diffstat (limited to 'Doc/faq')
-rw-r--r--Doc/faq/programming.rst2
-rw-r--r--Doc/faq/windows.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/faq/programming.rst b/Doc/faq/programming.rst
index 54dc4b9..c76fa56 100644
--- a/Doc/faq/programming.rst
+++ b/Doc/faq/programming.rst
@@ -910,7 +910,7 @@ ability, try converting the string to a list or use the array module::
>>> a = array.array('c', s)
>>> print a
array('c', 'Hello, world')
- >>> a[0] = 'y' ; print a
+ >>> a[0] = 'y'; print a
array('c', 'yello, world')
>>> a.tostring()
'yello, world'
diff --git a/Doc/faq/windows.rst b/Doc/faq/windows.rst
index 7cc6033..0379bac 100644
--- a/Doc/faq/windows.rst
+++ b/Doc/faq/windows.rst
@@ -243,7 +243,7 @@ Embedding the Python interpreter in a Windows app can be summarized as follows:
...
Py_Initialize(); // Initialize Python.
initmyAppc(); // Initialize (import) the helper class.
- PyRun_SimpleString("import myApp") ; // Import the shadow class.
+ PyRun_SimpleString("import myApp"); // Import the shadow class.
5. There are two problems with Python's C API which will become apparent if you
use a compiler other than MSVC, the compiler used to build pythonNN.dll.