Skip to content

Commit bc1dd5a

Browse files
committed
Reflow the comment in _make_content_disposition
This fixes the lines exceeding 79 chars limit
1 parent 8c2ed23 commit bc1dd5a

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

cherrypy/lib/static.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ def _make_content_disposition(disposition, file_name):
3535
This function implements the recommendations of :rfc:`6266#appendix-D`.
3636
See this and related answers: https://stackoverflow.com/a/8996249/2173868.
3737
"""
38-
# As normalization algorithm for `unicodedata` is used composed form (NFC and NFKC)
39-
# with compatibility equivalence criteria (NFK), so "NFKC" is the one.
40-
# It first applies the compatibility decomposition, followed by the canonical
41-
# composition. Should be displayed in the same manner, should be treated in
42-
# the same way by applications such as alphabetizing names or searching,
43-
# and may be substituted for each other.
38+
# As normalization algorithm for `unicodedata` is used composed form (NFC
39+
# and NFKC) with compatibility equivalence criteria (NFK), so "NFKC" is the
40+
# one. It first applies the compatibility decomposition, followed by the
41+
# canonical composition. Should be displayed in the same manner, should be
42+
# treated in the same way by applications such as alphabetizing names or
43+
# searching, and may be substituted for each other.
4444
# See: https://en.wikipedia.org/wiki/Unicode_equivalence.
4545
ascii_name = (
4646
unicodedata.normalize('NFKC', file_name).

0 commit comments

Comments
 (0)