MCPcopy Index your code
hub / github.com/python/mypy / add_method

Method add_method

mypyc/irbuild/classdef.py:329–330  ·  view source on GitHub ↗
(self, fdef: FuncDef)

Source from the content-addressed store, hash-verified

327 return False
328
329 def add_method(self, fdef: FuncDef) -> None:
330 handle_ext_method(self.builder, self.cdef, fdef)
331
332 def add_attr(self, lvalue: NameExpr, stmt: AssignmentStmt) -> None:
333 # Variable declaration with no body

Callers

nothing calls this directly

Calls 1

handle_ext_methodFunction · 0.90

Tested by

no test coverage detected