diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-05-08 19:55:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-08 19:55:13 (GMT) |
commit | 530c3bb271d85e7700f627c5d64089d270286dfa (patch) | |
tree | 23c5200c130874f8d0e6c786f4fce6b303039909 /Doc/library/os.rst | |
parent | b83b3cb9daf19560a171867b42d412a72b2bc4f5 (diff) | |
download | cpython-530c3bb271d85e7700f627c5d64089d270286dfa.zip cpython-530c3bb271d85e7700f627c5d64089d270286dfa.tar.gz cpython-530c3bb271d85e7700f627c5d64089d270286dfa.tar.bz2 |
[3.12] Format None, True, False and NotImplemented as literals (GH-118758) (GH-118794)
(cherry picked from commit 05c2fe1acda9ea5a57061642c36e8b73bb4fbba4)
Diffstat (limited to 'Doc/library/os.rst')
-rw-r--r-- | Doc/library/os.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 906c540..623f38b 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -918,7 +918,7 @@ as internal buffering of data. Copy *count* bytes from file descriptor *src*, starting from offset *offset_src*, to file descriptor *dst*, starting from offset *offset_dst*. - If *offset_src* is None, then *src* is read from the current position; + If *offset_src* is ``None``, then *src* is read from the current position; respectively for *offset_dst*. In Linux kernel older than 5.3, the files pointed to by *src* and *dst* @@ -1664,7 +1664,7 @@ or `the MSDN <https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Windo Transfer *count* bytes from file descriptor *src*, starting from offset *offset_src*, to file descriptor *dst*, starting from offset *offset_dst*. At least one of the file descriptors must refer to a pipe. If *offset_src* - is None, then *src* is read from the current position; respectively for + is ``None``, then *src* is read from the current position; respectively for *offset_dst*. The offset associated to the file descriptor that refers to a pipe must be ``None``. The files pointed to by *src* and *dst* must reside in the same filesystem, otherwise an :exc:`OSError` is raised with |