Skip to content

Commit d4d4874

Browse files
authoredFeb 19, 2017
Tweak PEP 519 documentation in stdlib (python#163)
* Drop duplicate work 'object' in lzma docs * Fix typo in os docs: fpr -> for
1 parent 52a7e92 commit d4d4874

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎Doc/library/lzma.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Reading and writing compressed files
3939
object`.
4040

4141
The *filename* argument can be either an actual file name (given as a
42-
:class:`str`, :class:`bytes` or :term:`path-like object` object), in
42+
:class:`str`, :class:`bytes` or :term:`path-like <path-like object>` object), in
4343
which case the named file is opened, or it can be an existing file object
4444
to read from or write to.
4545

@@ -76,7 +76,7 @@ Reading and writing compressed files
7676
An :class:`LZMAFile` can wrap an already-open :term:`file object`, or operate
7777
directly on a named file. The *filename* argument specifies either the file
7878
object to wrap, or the name of the file to open (as a :class:`str`,
79-
:class:`bytes` or :term:`path-like object` object). When wrapping an
79+
:class:`bytes` or :term:`path-like <path-like object>` object). When wrapping an
8080
existing file object, the wrapped file will not be closed when the
8181
:class:`LZMAFile` is closed.
8282

‎Doc/library/os.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -2859,7 +2859,7 @@ These functions are all available on Linux only.
28592859
:ref:`not following symlinks <follow_symlinks>`.
28602860

28612861
.. versionchanged:: 3.6
2862-
Accepts a :term:`path-like object` fpr *path* and *attribute*.
2862+
Accepts a :term:`path-like object` for *path* and *attribute*.
28632863

28642864

28652865
.. function:: listxattr(path=None, *, follow_symlinks=True)

0 commit comments

Comments
 (0)
Please sign in to comment.