8000 gh-101100: Fix broken xrefs in fcntl module doc by smontanaro · Pull Request #115691 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-101100: Fix broken xrefs in fcntl module doc #115691

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Feb 25, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Apply suggestions from code review
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
  • Loading branch information
smontanaro and CAM-Gerlach authored Feb 24, 2024
commit 5b5bf130d4d2179f31812fe530cda16abcb1f42e
14 changes: 7 additions & 7 deletions Doc/library/fcntl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@

----------------

This module performs file and I/O control on file descriptors. It is
an interface to the :c:func:`fcntl` and :c:func:`ioctl` Unix routines.
This module performs file and I/O control on file descriptors. It is an
interface to the :c:func:`fcntl` and :c:func:`ioctl` Unix routines.
See the :manpage:`fcntl(2)` and :manpage:`ioctl(2)` Unix manual pages
for full details.

Expand Down Expand Up @@ -178,20 +178,20 @@ The module defines the following functions:

.. data:: LOCK_UN

release an existing lock
Release an existing lock.

.. data:: LOCK_SH

acquire a shared lock
Acquire a shared lock.

.. data:: LOCK_EX

acquire an exclusive lock
Acquire an exclusive lock.

.. data:: LOCK_NB

bitwise OR with any of the other three constantsoperations to make
the request non-blocking.
Bitwise OR with any of the other three ``LOCK_*`` constants to make
the request non-blocking.

If :const:`!LOCK_NB` is used and the lock cannot be acquired, an
:exc:`OSError` will be raised and the exception will have an *errno*
Expand Down
0