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

Method rbinop

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

Source from the content-addressed store, hash-verified

525
526 def _make_rbinop(op: ast.AST):
527 def rbinop(self, other):
528 new_other, extra_names = self.__convert_to_ast(other)
529 return self.__make_new(
530 ast.BinOp(new_other, op, self.__get_ast()), extra_names
531 )
532
533 return rbinop
534

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