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
 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)