Пример #1
0
 def __repr__(self):
     return safe_repr("File(index={0} path=\"{1}\")", self.index, self.path)
Пример #2
0
 def __repr__(self):
     return safe_repr("Method(method_name='{0}', rpc_call='{1}')",
                     self.method_name, self.rpc_call)
Пример #3
0
 def __repr__(self):
     return safe_repr("Tracker(index={0}, url=\"{1}\")", self.index,
                      self.url)
Пример #4
0
 def __repr__(self):
     return safe_repr("Torrent(info_hash=\"{0}\" name=\"{1}\")",
                     self.info_hash, self.name)
Пример #5
0
 def __repr__(self):
     return safe_repr("Peer(id={0})", self.id)
Пример #6
0
 def __repr__(self):
     return safe_repr("File(index={0} path=\"{1}\")", self.index, self.path)