MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / is_method

Function is_method

scripts/gen-py-stdlib.py:108–109  ·  view source on GitHub ↗
(node: ast.AST)

Source from the content-addressed store, hash-verified

106
107
108def is_method(node: ast.AST) -> bool:
109 return isinstance(node, (ast.FunctionDef, ast.AsyncFunctionDef))
110
111
112def class_methods(class_node: ast.ClassDef) -> list[str]:

Callers 2

class_methodsFunction · 0.85
walkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected