Mercurial > fife-parpg
comparison engine/extensions/pychan/attrs.py @ 129:9a1529f9625e
* Indentation patch by GreyGhost
author | mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Thu, 07 Aug 2008 15:46:46 +0000 |
parents | ec653fde64d3 |
children | fe7ff4808529 |
comparison
equal
deleted
inserted
replaced
128:6e1fd3571440 | 129:9a1529f9625e |
---|---|
26 """ | 26 """ |
27 A simple text attribute. | 27 A simple text attribute. |
28 """ | 28 """ |
29 def __init__(self,name): | 29 def __init__(self,name): |
30 self.name = name | 30 self.name = name |
31 | 31 |
32 def set(self,obj,value): | 32 def set(self,obj,value): |
33 """ | 33 """ |
34 Parses the given value with the L{parse} method | 34 Parses the given value with the L{parse} method |
35 and sets it on the given instance with C{setattr}. | 35 and sets it on the given instance with C{setattr}. |
36 """ | 36 """ |