10000 gh-130461: Fix locations of `.. index::` directives usage in uuid docs by Mr-Sunglasses · Pull Request #130468 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-130461: Fix locations of .. index:: directives usage in uuid docs #130468

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

Closed
wants to merge 3 commits into from
Closed
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
Next Next commit
gh-130461: Remove unnecessary usages of .. index:: directives in Doc/…
…library/uuid.rst
  • Loading branch information
Mr-Sunglasses committed Feb 24, 2025
commit 69ae854ffc19c0337c5678b76b75445192394e9c
6 changes: 0 additions & 6 deletions Doc/library/uuid.rst
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ which relays any information about the UUID's safety, using this enumeration:
The :mod:`uuid` module defines the following functions:


.. index:: single: getnode
.. function:: getnode()

Get the hardware address as a 48-bit positive integer. The first time this
Expand All @@ -186,7 +185,6 @@ The :mod:`uuid` module defines the following functions:
globally unique, while the latter are not.


.. index:: single: uuid1
.. function:: uuid1(node=None, clock_seq=None)

Generate a UUID from a host ID, sequence number, and the current time. If *node*
Expand All @@ -195,29 +193,25 @@ The :mod:`uuid` module defines the following functions:
14-bit sequence number is chosen.


.. index:: single: uuid3
.. function:: uuid3(namespace, name)

Generate a UUID based on the MD5 hash of a namespace identifier (which is a
UUID) and a name (which is a :class:`bytes` object or a string
that will be encoded using UTF-8).


.. index:: single: uuid4
.. function:: uuid4()

Generate a random UUID.


.. index:: single: uuid5
.. function:: uuid5(namespace, name)

Generate a UUID based on the SHA-1 hash of a namespace identifier (which is a
UUID) and a name (which is a :class:`bytes` object or a string
that will be encoded using UTF-8).


.. index:: single: uuid8
.. function:: uuid8(a=None, b=None, c=None)

Generate a pseudo-random UUID according to
Expand Down
0