MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / __len__

Method __len__

eos/modifiedAttributeDict.py:302–307  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

300 self.__modified[key] = self.CalculationPlaceholder
301
302 def __len__(self):
303 keys = set()
304 keys.update(iter(self.original.keys()))
305 keys.update(iter(self.__modified.keys()))
306 keys.update(iter(self.__intermediary.keys()))
307 return len(keys)
308
309 def __calculateValue(self, key, extraMultipliers=None, preIncAdj=None, multAdj=None, postIncAdj=None, ignorePenMult=None):
310 # It's possible that various attributes are capped by other attributes,

Callers

nothing calls this directly

Calls 2

updateMethod · 0.45
keysMethod · 0.45

Tested by

no test coverage detected