diff options
| author | Nick Pope <nick.pope@flightdataservices.com> | 2020-04-30 10:30:11 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-05-13 09:14:04 +0200 |
| commit | a9337b4add01e50ed8ff8d3ef44099a08cba475c (patch) | |
| tree | daa0c3bbf5743cb1a50502841c12b517ea11353f /docs/ref/files | |
| parent | f9d13a1b5a637434556f88b0703087bf98ce3211 (diff) | |
Used :pep: role in various docs.
Diffstat (limited to 'docs/ref/files')
| -rw-r--r-- | docs/ref/files/uploads.txt | 8 |
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: |
