summaryrefslogtreecommitdiffstats
path: root/Lib/DocXMLRPCServer.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/DocXMLRPCServer.py')
-rw-r--r--Lib/DocXMLRPCServer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/DocXMLRPCServer.py b/Lib/DocXMLRPCServer.py
index 86ed32b..ddd5604 100644
--- a/Lib/DocXMLRPCServer.py
+++ b/Lib/DocXMLRPCServer.py
@@ -174,7 +174,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