def getChanceToHitCalculator(self, module): cthc = ChanceToHitCalculator(eve.session.shipid) cthc.setModule(module) return Memoized(cthc.calculate)