annotate pyikriam/lazy/www/core/__init__.py @ 79:9d92e8c12f58

rewrited the code in XPath.
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Fri, 24 Oct 2008 21:46:33 +0800
parents a4c364888197
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