MCPcopy
hub / github.com/satwikkansal/wtfpython / is_interactive_statement

Function is_interactive_statement

irrelevant/notebook_generator.py:80–84  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

78
79
80def is_interactive_statement(line):
81 for prefix in STATEMENT_PREFIXES:
82 if line.lstrip().startswith(prefix):
83 return True
84 return False
85
86
87def parse_example_parts(lines, title, current_line):

Callers 1

parse_example_partsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected