1
2
3 __author__ = "Abhinav Sarkar <abhinav@abhinavsarkar.net>"
4 __version__ = "0.2"
5 __license__ = "GNU Lesser General Public License"
8 """A class representing the information from the wiki of the subject."""
9 - def __init__(self,
10 subject,
11 published = None,
12 summary = None,
13 content = None):
18
19 @property
21 """artist for which the biography is"""
22 return self._subject
23
24 @property
26 """publication time of the biography"""
27 return self._published
28
29 @property
31 """summary of the biography"""
32 return self._summary
33
34 @property
36 """content of the biography"""
37 return self._content
38
40 return "<lastfm.Wiki: for %s '%s'>" % (self.subject.__class__.__name__, self.subject.name)
41