示例#1
0
文件: object.py 项目: sporsh/bite
 def __str__(self):
     return attr_string(self.__dict__)
示例#2
0
文件: comment.py 项目: sporsh/bite
 def __str__(self):
     return attr_string(user=self.user,
                        date=self.date,
                        message=self.message)
示例#3
0
文件: issue.py 项目: sporsh/bite
 def __str__(self):
     return attr_string(title=self.title,
                        user=self.user,
                        date=self.date,
                        fields=self.fields)
示例#4
0
 def __repr__(self):
     return "%s(%s)" % (self.__class__.__name__, attr_string(**self.__dict__))