Remove a dict.has_key() use in DocXMLRPCServer that comes up under -3.

This commit is contained in:
Brett Cannon 2008-08-03 22:59:46 +00:00
parent 0a0f608244
commit b2f49ff88d
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ def generate_html_documentation(self):
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