MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / get_context

Method get_context

Lib/idlelib/CodeContext.py:107–132  ·  view source on GitHub ↗

Get context lines, starting at new_topvisible and working backwards. Stop when stopline or stopindent is reached. Return a tuple of context data and the indent level at the top of the region inspected.

(self, new_topvisible, stopline=1, stopindent=0)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

update_code_contextMethod · 0.95

Calls 3

get_line_infoMethod · 0.95
appendMethod · 0.45
reverseMethod · 0.45

Tested by

no test coverage detected