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

Method setpat

Lib/idlelib/searchengine.py:40–41  ·  view source on GitHub ↗
(self, pat)

Source from the content-addressed store, hash-verified

38 return self.patvar.get()
39
40 def setpat(self, pat):
41 self.patvar.set(pat)
42
43 def isre(self):
44 return self.revar.get()

Callers 7

setcookedpatMethod · 0.95
test_replace_simpleMethod · 0.80
test_is_getMethod · 0.80
test_getcookedpatMethod · 0.80
test_getprogMethod · 0.80
test_create_entriesMethod · 0.80
test_find_againMethod · 0.80

Calls 1

setMethod · 0.45

Tested by 6

test_replace_simpleMethod · 0.64
test_is_getMethod · 0.64
test_getcookedpatMethod · 0.64
test_getprogMethod · 0.64
test_create_entriesMethod · 0.64
test_find_againMethod · 0.64