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

Function extended_linecache_checkcache

Lib/idlelib/PyShell.py:103–120  ·  view source on GitHub ↗

Extend linecache.checkcache to preserve the entries Rather than repeating the linecache code, patch it to save the entries, call the original linecache.checkcache() (skipping them), and then restore the saved entries. orig_checkcache is bound at definiti

(filename=None,
                                  orig_checkcache=linecache.checkcache)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

listClass · 0.50
popMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected