diff options
author | Raymond Hettinger <python@rcn.com> | 2005-02-07 14:16:21 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2005-02-07 14:16:21 (GMT) |
commit | f715366f23f47832a4b9914c54d5a63b19f17eba (patch) | |
tree | ee5f60f4631f6fdad98711dc86ad128724effb11 /Lib/DocXMLRPCServer.py | |
parent | a164574937d6ed32060ad34ea04913ca10741394 (diff) | |
download | cpython-f715366f23f47832a4b9914c54d5a63b19f17eba.zip cpython-f715366f23f47832a4b9914c54d5a63b19f17eba.tar.gz cpython-f715366f23f47832a4b9914c54d5a63b19f17eba.tar.bz2 |
Reduce the usage of the types module.
Diffstat (limited to 'Lib/DocXMLRPCServer.py')
-rw-r--r-- | Lib/DocXMLRPCServer.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/DocXMLRPCServer.py b/Lib/DocXMLRPCServer.py index 20958b2..259fb18 100644 --- a/Lib/DocXMLRPCServer.py +++ b/Lib/DocXMLRPCServer.py @@ -12,7 +12,6 @@ modules. import pydoc import inspect -import types import re import sys @@ -92,7 +91,7 @@ class ServerHTMLDoc(pydoc.HTMLDoc): else: argspec = '(...)' - if isinstance(object, types.TupleType): + if isinstance(object, tuple): argspec = object[0] or argspec docstring = object[1] or "" else: |