Skip to content

Commit bdd8572

Browse files
hugovkmiss-islington
authored andcommitted
Prevent GitHub's web conflict editor from converting LF to CRLF (pythonGH-148739)
(cherry picked from commit 9e23652) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
1 parent 0ca5390 commit bdd8572

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ Lib/test/xmltestdata/* noeol
3333
Lib/venv/scripts/common/activate text eol=lf
3434
Lib/venv/scripts/posix/* text eol=lf
3535

36+
# Prevent GitHub's web conflict editor from converting LF to CRLF
37+
*.rst text eol=lf
38+
3639
# CRLF files
3740
[attr]dos text eol=crlf
3841

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Fix crash in :mod:`csv` reader when iterating with a re-entrant iterator
2-
that calls :func:`next` on the same reader from within ``__next__``.
1+
Fix crash in :mod:`csv` reader when iterating with a re-entrant iterator
2+
that calls :func:`next` on the same reader from within ``__next__``.

0 commit comments

Comments
 (0)