mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Merge 3.2
This commit is contained in:
commit
aabbda5354
27 changed files with 51 additions and 54 deletions
|
|
@ -149,7 +149,7 @@ def list_public_methods(obj):
|
|||
|
||||
return [member for member in dir(obj)
|
||||
if not member.startswith('_') and
|
||||
hasattr(getattr(obj, member), '__call__')]
|
||||
callable(getattr(obj, member))]
|
||||
|
||||
class SimpleXMLRPCDispatcher:
|
||||
"""Mix-in class that dispatches XML-RPC requests.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue