def __init__(self, *args, **kwargs):
     kwargs.setdefault('relative', False)
     super().__init__(*args, **kwargs)
예제 #2
0
 def __getitem__(self, key):
     try:
         return super().__getitem__(key)
     except TypeError:
         return self.__lookup(key)
예제 #3
0
 def __init__(self, data, participants):
     super().__init__(data)
     self.__participants = participants
예제 #4
0
 def __init__(self, data, participants):
     super().__init__(data)
     self.__participants = participants
     self.__counter = 0
예제 #5
0
 def __init__(self, data, participants):
     super().__init__(data)
     self.__participant = participants[self.data.participantId]
예제 #6
0
 def __init__(self, data, participants):
     super().__init__(data)
     self.__participant = participants[self.data.participantId]
예제 #7
0
 def __getitem__(self, key):
     try:
         return super().__getitem__(key)
     except TypeError:
         return self.__lookup(key)
예제 #8
0
파일: game.py 프로젝트: sbrodehl/cassiopeia
 def __init__(self, data, summoner_id):
     super().__init__(data)
     self.__summoner_id = summoner_id
예제 #9
0
 def __init__(self, arr):
     super(PList, self).__init__(arr)
예제 #10
0
 def __init__(self, message, error_code, details=None):
     super().__init__(message)
     self.message = message
     self.error_code = error_code
     self.details = details
예제 #11
0
 def __init__(self, message, error_code):
     super().__init__(message)
     self.message = message
     self.error_code = error_code
예제 #12
0
 def __init__(self, config=None):
     super().__init__(config or default_config)
예제 #13
0
파일: game.py 프로젝트: zachcd/cassiopeia
 def __init__(self, data, summoner_id):
     super().__init__(data)
     self.__summoner_id = summoner_id
예제 #14
0
파일: parser.py 프로젝트: Osmose/pyjexl
 def __init__(self, *args, **kwargs):
     kwargs.setdefault('relative', False)
     super().__init__(*args, **kwargs)