summaryrefslogtreecommitdiffstats
path: root/Doc/library/lzma.rst
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2017-02-19 00:17:35 (GMT)
committerGitHub <noreply@github.com>2017-02-19 00:17:35 (GMT)
commitd4d48743ac20854de104e08dd66972471684f676 (patch)
treea8332e4a31a2072def117d9d5982ef561a5b03bf /Doc/library/lzma.rst
parent52a7e92e3d38d3d003552db6795deeeee75db2e4 (diff)
downloadcpython-d4d48743ac20854de104e08dd66972471684f676.zip
cpython-d4d48743ac20854de104e08dd66972471684f676.tar.gz
cpython-d4d48743ac20854de104e08dd66972471684f676.tar.bz2
Tweak PEP 519 documentation in stdlib (#163)
* Drop duplicate work 'object' in lzma docs * Fix typo in os docs: fpr -> for
Diffstat (limited to 'Doc/library/lzma.rst')
-rw-r--r--Doc/library/lzma.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/lzma.rst b/Doc/library/lzma.rst
index 5edb23d..cce6c23 100644
--- a/Doc/library/lzma.rst
+++ b/Doc/library/lzma.rst
@@ -39,7 +39,7 @@ Reading and writing compressed files
object`.
The *filename* argument can be either an actual file name (given as a
- :class:`str`, :class:`bytes` or :term:`path-like object` object), in
+ :class:`str`, :class:`bytes` or :term:`path-like <path-like object>` object), in
which case the named file is opened, or it can be an existing file object
to read from or write to.
@@ -76,7 +76,7 @@ Reading and writing compressed files
An :class:`LZMAFile` can wrap an already-open :term:`file object`, or operate
directly on a named file. The *filename* argument specifies either the file
object to wrap, or the name of the file to open (as a :class:`str`,
- :class:`bytes` or :term:`path-like object` object). When wrapping an
+ :class:`bytes` or :term:`path-like <path-like object>` object). When wrapping an
existing file object, the wrapped file will not be closed when the
:class:`LZMAFile` is closed.