summaryrefslogtreecommitdiffstats
path: root/Lib/xml
diff options
context:
space:
mode:
authorMike <mehanig@gmail.com>2017-12-14 11:04:53 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2017-12-14 11:04:53 (GMT)
commit53f7a7c2814fbfd8a29200926601a32fa48bacb3 (patch)
tree4f74255b4cf6af46480b3e48bdc2411dfede9e15 /Lib/xml
parent5364b5cd7571f2dfa75acd37b388c14ac33fef73 (diff)
downloadcpython-53f7a7c2814fbfd8a29200926601a32fa48bacb3.zip
cpython-53f7a7c2814fbfd8a29200926601a32fa48bacb3.tar.gz
cpython-53f7a7c2814fbfd8a29200926601a32fa48bacb3.tar.bz2
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
Diffstat (limited to 'Lib/xml')
-rw-r--r--Lib/xml/etree/ElementTree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/xml/etree/ElementTree.py b/Lib/xml/etree/ElementTree.py
index 7caef55..8727704 100644
--- a/Lib/xml/etree/ElementTree.py
+++ b/Lib/xml/etree/ElementTree.py
@@ -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("&", "&amp;")