summaryrefslogtreecommitdiff
path: root/django/views
diff options
context:
space:
mode:
authorMike Edmunds <medmunds@gmail.com>2025-07-22 20:40:48 -0700
committernessita <124304+nessita@users.noreply.github.com>2025-07-23 20:17:55 -0300
commit55b0cc21310b76ce4018dd793ba50556eaf0af06 (patch)
treeb56d75363688b6ac34f7e9a773c793d79750104b /django/views
parent5527df91921b54b9fd1eb9aca3aabe91ec58a9c7 (diff)
Refs #36500 -- Shortened some long docstrings and comments.
Manually reformatted some long docstrings and comments that would be damaged by the to-be-applied autofixer script, in cases where editorial judgment seemed necessary for style or wording changes.
Diffstat (limited to 'django/views')
-rw-r--r--django/views/i18n.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/django/views/i18n.py b/django/views/i18n.py
index 771035d8ab..79a10408dd 100644
--- a/django/views/i18n.py
+++ b/django/views/i18n.py
@@ -167,7 +167,8 @@ class JavaScriptCatalog(View):
if plural is not None:
# This should be a compiled function of a typical plural-form:
# Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 :
- # n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;
+ # n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20)
+ # ? 1 : 2;
plural = [
el.strip()
for el in plural.split(";")