equal
deleted
inserted
replaced
478 |
478 |
479 note: when interface is an entity class, the score will reflect class |
479 note: when interface is an entity class, the score will reflect class |
480 proximity so the most specific object'll be selected |
480 proximity so the most specific object'll be selected |
481 """ |
481 """ |
482 def __init__(self, *expected_ifaces): |
482 def __init__(self, *expected_ifaces): |
|
483 super(implements, self).__init__() |
483 self.expected_ifaces = expected_ifaces |
484 self.expected_ifaces = expected_ifaces |
484 |
485 |
485 def score_class(self, eclass, req): |
486 def score_class(self, eclass, req): |
486 print '***********************************' |
487 print '***********************************' |
487 score = 0 |
488 score = 0 |