Skip to content

Commit f42e84a

Browse files
committed
gh-139122: Normalize line endings in UUID review suggestions
1 parent 54e040a commit f42e84a

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎Doc/library/uuid.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ which relays any information about the UUID's safety, using this enumeration:
6969
variant and version number set according to :rfc:`9562`, overriding bits in the
7070
given *hex*, *bytes*, *bytes_le*, *fields*, or *int*.
7171

72-
.. versionchanged:: next
72+
.. versionchanged:: next
7373
Passing an object other than :class:`bytes` as *bytes* or *bytes_le*
7474
now consistently raises :exc:`TypeError`. Previously, some invalid inputs
7575
raised :exc:`AssertionError` or :exc:`ValueError`.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
:mod:`uuid`: Reimplement :class:`~uuid.UUID` objects, :func:`~uuid.uuid4`,
2-
and :func:`~uuid.uuid7` in C.
1+
:mod:`uuid`: Reimplement :class:`~uuid.UUID` objects, :func:`~uuid.uuid4`,
2+
and :func:`~uuid.uuid7` in C.

‎Modules/_uuidmodule.c‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1830,11 +1830,11 @@ uuid_exec(PyObject *module)
18301830

18311831
#undef ADD_INT
18321832

1833-
state->uuid_type = (PyTypeObject *)PyType_FromModuleAndSpec(
1834-
module,
1835-
&Uuid_spec,
1836-
NULL
1837-
);
1833+
state->uuid_type = (PyTypeObject *)PyType_FromModuleAndSpec(
1834+
module,
1835+
&Uuid_spec,
1836+
NULL
1837+
);
18381838
if (state->uuid_type == NULL) {
18391839
return -1;
18401840
}

0 commit comments

Comments
 (0)