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

Method binop

Lib/annotationlib.py:502–506  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

500
501 def _make_binop(op: ast.AST):
502 def binop(self, other):
503 rhs, extra_names = self.__convert_to_ast(other)
504 return self.__make_new(
505 ast.BinOp(self.__get_ast(), op, rhs), extra_names
506 )
507
508 return binop
509

Callers

nothing calls this directly

Calls 3

__convert_to_astMethod · 0.95
__make_newMethod · 0.95
__get_astMethod · 0.95

Tested by

no test coverage detected