summaryrefslogtreecommitdiffstats
path: root/Doc/faq
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-10-06 10:26:05 (GMT)
committerGeorg Brandl <georg@python.org>2010-10-06 10:26:05 (GMT)
commit682d7e0e07bc29de4578f48be66756c5b969776f (patch)
tree4e1c379e13ebca676c4fbee38ed251ecc88c1133 /Doc/faq
parentfa4f7f97b8af16c02441443e448986c07f4cd254 (diff)
downloadcpython-682d7e0e07bc29de4578f48be66756c5b969776f.zip
cpython-682d7e0e07bc29de4578f48be66756c5b969776f.tar.gz
cpython-682d7e0e07bc29de4578f48be66756c5b969776f.tar.bz2
Fix errors found by "make suspicious".
Diffstat (limited to 'Doc/faq')
-rw-r--r--Doc/faq/library.rst2
-rw-r--r--Doc/faq/windows.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/faq/library.rst b/Doc/faq/library.rst
index 067548f..5014185 100644
--- a/Doc/faq/library.rst
+++ b/Doc/faq/library.rst
@@ -460,7 +460,7 @@ To rename a file, use ``os.rename(old_path, new_path)``.
To truncate a file, open it using ``f = open(filename, "rb+")``, and use
``f.truncate(offset)``; offset defaults to the current seek position. There's
-also ```os.ftruncate(fd, offset)`` for files opened with :func:`os.open`, where
+also ``os.ftruncate(fd, offset)`` for files opened with :func:`os.open`, where
``fd`` is the file descriptor (a small integer).
The :mod:`shutil` module also contains a number of functions to work on files
diff --git a/Doc/faq/windows.rst b/Doc/faq/windows.rst
index 6266d10..4954ac0 100644
--- a/Doc/faq/windows.rst
+++ b/Doc/faq/windows.rst
@@ -598,7 +598,7 @@ Warning about CTL3D32 version from installer
The Python installer issues a warning like this::
- This version uses ``CTL3D32.DLL`` which is not the correct version.
+ This version uses CTL3D32.DLL which is not the correct version.
This version is used for windows NT applications only.
Tim Peters: