MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / replace

Method replace

eos/effectHandlerHelpers.py:147–154  ·  view source on GitHub ↗
(self, idx, mod)

Source from the content-addressed store, hash-verified

145 self.remove(mod)
146
147 def replace(self, idx, mod):
148 try:
149 oldMod = self[idx]
150 except IndexError:
151 return
152 self.__toModule(idx, mod)
153 if mod.isInvalid:
154 self.__toModule(idx, oldMod)
155
156 def replaceRackPosition(self, rackPosition, mod):
157 listPositions = []

Callers 15

writeMethod · 0.80
convertSectionFunction · 0.80
replace_ltgtFunction · 0.80
getVariationsByItemsMethod · 0.80
get_login_uriMethod · 0.80
importEftCfgFunction · 0.80
drawMethod · 0.80
get_icon_fileFunction · 0.80
test_os_walkFunction · 0.80
loadImageMethod · 0.80
scheduleSearchMethod · 0.80

Calls 1

__toModuleMethod · 0.95

Tested by 1

test_os_walkFunction · 0.64