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

Method lineno

Lib/test/test_fileinput.py:526–528  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

524 return self.return_values["filename"]
525
526 def lineno(self):
527 self.invocation_counts["lineno"] += 1
528 return self.return_values["lineno"]
529
530 def filelineno(self):
531 self.invocation_counts["filelineno"] += 1

Callers 4

test_context_managerMethod · 0.45
test_pathlike_fileMethod · 0.45
test_state_is_NoneMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected