annotate pyikriam/lazy/www/core/__init__.py @ 62:a4c364888197

add ikriam game binding lib python version
author hychen@mluna
date Wed, 22 Oct 2008 04:04:32 +0800
parents
children 60c4b4b78a01
rev   line source
62
a4c364888197 add ikriam game binding lib python version
hychen@mluna
parents:
diff changeset
1
a4c364888197 add ikriam game binding lib python version
hychen@mluna
parents:
diff changeset
2 class SemiProduct:
a4c364888197 add ikriam game binding lib python version
hychen@mluna
parents:
diff changeset
3
a4c364888197 add ikriam game binding lib python version
hychen@mluna
parents:
diff changeset
4 last_work = None
a4c364888197 add ikriam game binding lib python version
hychen@mluna
parents:
diff changeset
5 source = None
a4c364888197 add ikriam game binding lib python version
hychen@mluna
parents:
diff changeset
6 content = None
a4c364888197 add ikriam game binding lib python version
hychen@mluna
parents:
diff changeset
7
a4c364888197 add ikriam game binding lib python version
hychen@mluna
parents:
diff changeset
8 def __init__(self, **kwds):
a4c364888197 add ikriam game binding lib python version
hychen@mluna
parents:
diff changeset
9 self.source = kwds.get('source','')
a4c364888197 add ikriam game binding lib python version
hychen@mluna
parents:
diff changeset
10
a4c364888197 add ikriam game binding lib python version
hychen@mluna
parents:
diff changeset
11 def __str__(self):
a4c364888197 add ikriam game binding lib python version
hychen@mluna
parents:
diff changeset
12 return self.content