commit | f715366f23f47832a4b9914c54d5a63b19f17eba | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Mon Feb 07 14:16:21 2005 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Mon Feb 07 14:16:21 2005 +0000 |
tree | ee5f60f4631f6fdad98711dc86ad128724effb11 | |
parent | a164574937d6ed32060ad34ea04913ca10741394 [diff] [blame] |
Reduce the usage of the types module.
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 @@ import pydoc import inspect -import types import re import sys @@ -92,7 +91,7 @@ else: argspec = '(...)' - if isinstance(object, types.TupleType): + if isinstance(object, tuple): argspec = object[0] or argspec docstring = object[1] or "" else: