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

Method log_operation

Lib/test/test_binop.py:307–308  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

305 def __init__(self, logger):
306 self.logger = logger
307 def log_operation(self, *args):
308 self.logger(*args)
309
310def op_sequence(op, *classes):
311 """Return the sequence of operations that results from applying

Callers 12

__eq__Method · 0.80
__le__Method · 0.80
__ge__Method · 0.80
__eq__Method · 0.80
__le__Method · 0.80
__ge__Method · 0.80
__eq__Method · 0.80
__le__Method · 0.80
__ge__Method · 0.80
__eq__Method · 0.80
__le__Method · 0.80
__ge__Method · 0.80

Calls 1

loggerMethod · 0.80

Tested by

no test coverage detected