diff options
author | Guido van Rossum <guido@python.org> | 2007-08-27 22:31:36 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-08-27 22:31:36 (GMT) |
commit | 25a29a9534ea8bbfce297eb92c82741833fe04eb (patch) | |
tree | aaaf7ea1d68f9ba51dd1f07ba869f4b67a2292b6 /Lib/xmlrpclib.py | |
parent | 54a40cb81f2bbc7ec263196eaa4ce05151ab93ce (diff) | |
download | cpython-25a29a9534ea8bbfce297eb92c82741833fe04eb.zip cpython-25a29a9534ea8bbfce297eb92c82741833fe04eb.tar.gz cpython-25a29a9534ea8bbfce297eb92c82741833fe04eb.tar.bz2 |
One further change.
Diffstat (limited to 'Lib/xmlrpclib.py')
-rw-r--r-- | Lib/xmlrpclib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/xmlrpclib.py b/Lib/xmlrpclib.py index 586dc4c..ac36b62 100644 --- a/Lib/xmlrpclib.py +++ b/Lib/xmlrpclib.py @@ -167,7 +167,7 @@ def _stringify(string): # convert to 7-bit ascii if possible try: return string.decode("ascii") - except UnicodeError: + except (UnicodeError, TypeError): return string __version__ = "1.0.1" |