MCPcopy Index your code
hub / github.com/python/cpython / list_public_methods

Function list_public_methods

Lib/xmlrpc/server.py:148–154  ·  view source on GitHub ↗

Returns a list of attribute strings, found in the specified object, which represent callable attributes

(obj)

Source from the content-addressed store, hash-verified

146 return obj
147
148def 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
156class SimpleXMLRPCDispatcher:
157 """Mix-in class that dispatches XML-RPC requests.

Callers 1

system_listMethodsMethod · 0.85

Calls 1

startswithMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…