mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-32297: Few misspellings found in Python source code comments. (#4803)
* Fix multiple typos in code comments * Add spacing in comments (test_logging.py, test_math.py) * Fix spaces at the beginning of comments in test_logging.py
This commit is contained in:
parent
5364b5cd75
commit
53f7a7c281
39 changed files with 71 additions and 71 deletions
|
@ -1062,7 +1062,7 @@ def _escape_cdata(text):
|
|||
# escape character data
|
||||
try:
|
||||
# it's worth avoiding do-nothing calls for strings that are
|
||||
# shorter than 500 character, or so. assume that's, by far,
|
||||
# shorter than 500 characters, or so. assume that's, by far,
|
||||
# the most common case in most applications.
|
||||
if "&" in text:
|
||||
text = text.replace("&", "&")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue