mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Used :pep: role in various docs.
This commit is contained in:
parent
f9d13a1b5a
commit
a9337b4add
7 changed files with 20 additions and 22 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue