summaryrefslogtreecommitdiff
path: root/docs/ref/files
diff options
context:
space:
mode:
authorNick Pope <nick.pope@flightdataservices.com>2020-04-30 10:30:11 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-05-13 09:14:04 +0200
commita9337b4add01e50ed8ff8d3ef44099a08cba475c (patch)
treedaa0c3bbf5743cb1a50502841c12b517ea11353f /docs/ref/files
parentf9d13a1b5a637434556f88b0703087bf98ce3211 (diff)
Used :pep: role in various docs.
Diffstat (limited to 'docs/ref/files')
-rw-r--r--docs/ref/files/uploads.txt8
1 files changed, 3 insertions, 5 deletions
diff --git a/docs/ref/files/uploads.txt b/docs/ref/files/uploads.txt
index 0021800a64..4ce4eb991a 100644
--- a/docs/ref/files/uploads.txt
+++ b/docs/ref/files/uploads.txt
@@ -76,11 +76,9 @@ Here are some useful attributes of ``UploadedFile``:
for line in uploadedfile:
do_something_with(line)
- Lines are split using `universal newlines`_. The following are recognized
- as ending a line: the Unix end-of-line convention ``'\n'``, the Windows
- convention ``'\r\n'``, and the old Macintosh convention ``'\r'``.
-
- .. _universal newlines: https://www.python.org/dev/peps/pep-0278
+ Lines are split using :pep:`universal newlines <278>`. The following are
+ recognized as ending a line: the Unix end-of-line convention ``'\n'``, the
+ Windows convention ``'\r\n'``, and the old Macintosh convention ``'\r'``.
Subclasses of ``UploadedFile`` include: