Skip to content

Fix Sphinx reference warnings in Doc/library/select.rst#151974

Closed
NotFoundOvO wants to merge 1 commit into
python:mainfrom
NotFoundOvO:fix/select-sphinx-warnings
Closed

Fix Sphinx reference warnings in Doc/library/select.rst#151974
NotFoundOvO wants to merge 1 commit into
python:mainfrom
NotFoundOvO:fix/select-sphinx-warnings

Conversation

@NotFoundOvO

Copy link
Copy Markdown

Fixes #151948

Changed :const: to :data: for module-level constants in select.rst:

  • POLLIN, POLLOUT, POLLPRI, etc.
  • EPOLLIN, EPOLLOUT, EPOLLPRI, etc.
  • KQ_FILTER_, KQ_NOTE_, KQ_EV_*
  • ENOENT

Left :const:None unchanged as it's a builtin, not a module constant.

74 occurrences replaced.

Change :const: to :data: for module-level constants (POLLIN, POLLOUT,
EPOLLIN, KQ_FILTER_*, KQ_NOTE_*, etc.).

Closes python#151948
@python-cla-bot

Copy link
Copy Markdown

The following commit authors need to sign the Contributor License Agreement:

CLA not signed

@StanFromIreland

Copy link
Copy Markdown
Member

There is already an open PR for this, #151957. Please don't open PRs for issues with already open PRs, closing this in favour of the existing one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

Fix all Sphinx reference warnings in Doc/library/select.rst

3 participants