Commit b2f49ff8 authored by Brett Cannon's avatar Brett Cannon

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

parent 0a0f6082
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment