MCPcopy Create free account
hub / github.com/ipython/ipython / count_line_t

Method count_line_t

IPython/core/tests/test_interactiveshell.py:703–706  ·  view source on GitHub ↗
(lines)

Source from the content-addressed store, hash-verified

701 return lines
702
703 def count_line_t(lines):
704 nonlocal line_t
705 line_t += 1
706 return lines
707
708 ip.input_transformer_manager.cleanup_transforms.append(count_cleanup)
709 ip.input_transformer_manager.line_transforms.append(count_line_t)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected