diff options
author | Geoffrey Thomas <geofft@ldpreload.com> | 2024-05-22 16:35:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-22 16:35:18 (GMT) |
commit | ef172521a9e9dfadebe57d590bfb53a0e9ac3a0b (patch) | |
tree | 22da7f25285e842c48daf81b0ae2a57e223cc674 /Lib/wsgiref | |
parent | 81865002aee8eaaeb3c7e402f86183afa6de77bf (diff) | |
download | cpython-ef172521a9e9dfadebe57d590bfb53a0e9ac3a0b.zip cpython-ef172521a9e9dfadebe57d590bfb53a0e9ac3a0b.tar.gz cpython-ef172521a9e9dfadebe57d590bfb53a0e9ac3a0b.tar.bz2 |
Remove almost all unpaired backticks in docstrings (#119231)
As reported in #117847 and #115366, an unpaired backtick in a docstring
tends to confuse e.g. Sphinx running on subclasses of standard library
objects, and the typographic style of using a backtick as an opening
quote is no longer in favor. Convert almost all uses of the form
The variable `foo' should do xyz
to
The variable 'foo' should do xyz
and also fix up miscellaneous other unpaired backticks (extraneous /
missing characters).
No functional change is intended here other than in human-readable
docstrings.
Diffstat (limited to 'Lib/wsgiref')
-rw-r--r-- | Lib/wsgiref/headers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/wsgiref/headers.py b/Lib/wsgiref/headers.py index fab851c..05d2ba4 100644 --- a/Lib/wsgiref/headers.py +++ b/Lib/wsgiref/headers.py @@ -5,7 +5,7 @@ so portions are Copyright (C) 2001,2002 Python Software Foundation, and were written by Barry Warsaw. """ -# Regular expression that matches `special' characters in parameters, the +# Regular expression that matches 'special' characters in parameters, the # existence of which force quoting of the parameter value. import re tspecials = re.compile(r'[ \(\)<>@,;:\\"/\[\]\?=]') |