diff options
| author | django-bot <ops@djangoproject.com> | 2025-07-22 20:41:41 -0700 |
|---|---|---|
| committer | nessita <124304+nessita@users.noreply.github.com> | 2025-07-23 20:17:55 -0300 |
| commit | 69a93a88edb56ba47f624dac7a21aacc47ea474f (patch) | |
| tree | f57507a4435d032493cae40e06ecb254790b67b2 /django/core/files/uploadhandler.py | |
| parent | 55b0cc21310b76ce4018dd793ba50556eaf0af06 (diff) | |
Refs #36500 -- Rewrapped long docstrings and block comments via a script.
Rewrapped long docstrings and block comments to 79 characters + newline
using script from https://github.com/medmunds/autofix-w505.
Diffstat (limited to 'django/core/files/uploadhandler.py')
| -rw-r--r-- | django/core/files/uploadhandler.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/django/core/files/uploadhandler.py b/django/core/files/uploadhandler.py index ab86f7fede..133c0a597f 100644 --- a/django/core/files/uploadhandler.py +++ b/django/core/files/uploadhandler.py @@ -37,8 +37,8 @@ class StopUpload(UploadFileException): def __init__(self, connection_reset=False): """ If ``connection_reset`` is ``True``, Django knows will halt the upload - without consuming the rest of the upload. This will cause the browser to - show a "connection reset" error. + without consuming the rest of the upload. This will cause the browser + to show a "connection reset" error. """ self.connection_reset = connection_reset @@ -51,7 +51,8 @@ class StopUpload(UploadFileException): class SkipFile(UploadFileException): """ - This exception is raised by an upload handler that wants to skip a given file. + This exception is raised by an upload handler that wants to skip a given + file. """ pass |
