diff options
author | Tim Peters <tim.peters@gmail.com> | 2003-04-24 16:02:54 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2003-04-24 16:02:54 +0000 |
commit | 0eadaac7dc3ae49974c105ff9e8c1e98a04d7d5a (patch) | |
tree | 6d84cc9f2da9f24dd76871e75a80e618fd519a27 /Lib/xml/sax | |
parent | Get rid of some hard coded tabs (diff) | |
download | cpython-0eadaac7dc3ae49974c105ff9e8c1e98a04d7d5a.tar.gz cpython-0eadaac7dc3ae49974c105ff9e8c1e98a04d7d5a.tar.bz2 cpython-0eadaac7dc3ae49974c105ff9e8c1e98a04d7d5a.zip |
Whitespace normalization.
Diffstat (limited to 'Lib/xml/sax')
-rw-r--r-- | Lib/xml/sax/handler.py | 2 | ||||
-rw-r--r-- | Lib/xml/sax/saxutils.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/xml/sax/handler.py b/Lib/xml/sax/handler.py index 41105c0cee0..25d55c1df53 100644 --- a/Lib/xml/sax/handler.py +++ b/Lib/xml/sax/handler.py @@ -326,7 +326,7 @@ property_encoding = "http://www.python.org/sax/properties/encoding" # processing a META tag) # read: return the current encoding (possibly established through # auto-detection. -# initial value: UTF-8 +# initial value: UTF-8 # property_interning_dict = "http://www.python.org/sax/properties/interning-dict" diff --git a/Lib/xml/sax/saxutils.py b/Lib/xml/sax/saxutils.py index f55eef57cc4..6544f171d9c 100644 --- a/Lib/xml/sax/saxutils.py +++ b/Lib/xml/sax/saxutils.py @@ -20,7 +20,7 @@ def __dict_replace(s, d): def escape(data, entities={}): """Escape &, <, and > in a string of data. - + You can escape other strings of data by passing a dictionary as the optional entities parameter. The keys and values must all be strings; each key will be replaced with its corresponding value. |