Returns a list of attribute strings, found in the specified object, which represent callable attributes
(obj)
| 146 | return obj |
| 147 | |
| 148 | def list_public_methods(obj): |
| 149 | """Returns a list of attribute strings, found in the specified |
| 150 | object, which represent callable attributes""" |
| 151 | |
| 152 | return [member for member in dir(obj) |
| 153 | if not member.startswith('_') and |
| 154 | callable(getattr(obj, member))] |
| 155 | |
| 156 | class SimpleXMLRPCDispatcher: |
| 157 | """Mix-in class that dispatches XML-RPC requests. |
no test coverage detected
searching dependent graphs…