summaryrefslogtreecommitdiffstats
path: root/Doc/faq/library.rst
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/library.rst
parentfa4f7f97b8af16c02441443e448986c07f4cd254 (diff)
downloadcpython-682d7e0e07bc29de4578f48be66756c5b969776f.zip
cpython-682d7e0e07bc29de4578f48be66756c5b969776f.tar.gz
cpython-682d7e0e07bc29de4578f48be66756c5b969776f.tar.bz2
Fix errors found by "make suspicious".
Diffstat (limited to 'Doc/faq/library.rst')
-rw-r--r--Doc/faq/library.rst2
1 files changed, 1 insertions, 1 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