mirror of https://github.com/python/cpython.git
Remove a dict.has_key() use in DocXMLRPCServer that comes up under -3.
This commit is contained in:
parent
0a0f608244
commit
b2f49ff88d
|
@ -175,7 +175,7 @@ def generate_html_documentation(self):
|
||||||
methods = {}
|
methods = {}
|
||||||
|
|
||||||
for method_name in self.system_listMethods():
|
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]
|
method = self.funcs[method_name]
|
||||||
elif self.instance is not None:
|
elif self.instance is not None:
|
||||||
method_info = [None, None] # argspec, documentation
|
method_info = [None, None] # argspec, documentation
|
||||||
|
|
Loading…
Reference in New Issue