diff options
author | Brett Cannon <bcannon@gmail.com> | 2008-08-03 22:59:46 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2008-08-03 22:59:46 (GMT) |
commit | b2f49ff88d0d5e42ffc26c48b8759c1432a4e55c (patch) | |
tree | cb20326af906ea8b4099d44d0904473d02571ba7 | |
parent | 0a0f6082442a21058ef1c79463e05bb0d78d2ef7 (diff) | |
download | cpython-b2f49ff88d0d5e42ffc26c48b8759c1432a4e55c.zip cpython-b2f49ff88d0d5e42ffc26c48b8759c1432a4e55c.tar.gz cpython-b2f49ff88d0d5e42ffc26c48b8759c1432a4e55c.tar.bz2 |
Remove a dict.has_key() use in DocXMLRPCServer that comes up under -3.
-rw-r--r-- | Lib/DocXMLRPCServer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/DocXMLRPCServer.py b/Lib/DocXMLRPCServer.py index 3af9d4c..432b3c3 100644 --- a/Lib/DocXMLRPCServer.py +++ b/Lib/DocXMLRPCServer.py @@ -175,7 +175,7 @@ class XMLRPCDocGenerator: methods = {} for method_name in self.system_listMethods(): - if self.funcs.has_key(method_name): + if method_name in self.funcs: method = self.funcs[method_name] elif self.instance is not None: method_info = [None, None] # argspec, documentation |