foo45 / stagger

Automatically exported from code.google.com/p/stagger
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

tag[TIT2] = "Staralfur" #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Make the above work.  Currently we have to type

tag[TIT2] = [TIT2(text=["Staralfur"])]

which is frankly ridiculous.

Original issue reported on code.google.com by Karoly.Lorentey on 15 Jun 2009 at 2:24

GoogleCodeExporter commented 8 years ago
Done.

>>> tag[TIT2] = "Staralfur"
>>> tag[TIT2]
[TIT2(encoding=None, text=['Staralfur'])]

>>> tag[TIT2] = ("Staralfur", "The Show Must Go On"])
>>> tag[TIT2]
[TIT2(encoding=None, text=['Staralfur', 'The Show Must Go On])]

Original comment by Karoly.Lorentey on 18 Jun 2009 at 11:13