mirror of
https://github.com/python/cpython.git
synced 2025-07-28 13:44:43 +00:00
Remove a dict.has_key() use in DocXMLRPCServer that comes up under -3.
This commit is contained in:
parent
0a0f608244
commit
b2f49ff88d
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ class XMLRPCDocGenerator:
|
||||||
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…
Add table
Add a link
Reference in a new issue