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/urls/utils.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/urls/utils.py')
| -rw-r--r-- | django/urls/utils.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/django/urls/utils.py b/django/urls/utils.py index 2bea922917..b5054b163c 100644 --- a/django/urls/utils.py +++ b/django/urls/utils.py @@ -10,9 +10,9 @@ def get_callable(lookup_view): """ Return a callable corresponding to lookup_view. * If lookup_view is already a callable, return it. - * If lookup_view is a string import path that can be resolved to a callable, - import that callable and return it, otherwise raise an exception - (ImportError or ViewDoesNotExist). + * If lookup_view is a string import path that can be resolved to a + callable, import that callable and return it, otherwise raise an + exception (ImportError or ViewDoesNotExist). """ if callable(lookup_view): return lookup_view |
