Changeset 391 for python/trunk/Doc/includes/minidom-example.py
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Doc/includes/minidom-example.py
r2 r391 20 20 21 21 def getText(nodelist): 22 rc = ""22 rc = [] 23 23 for node in nodelist: 24 24 if node.nodeType == node.TEXT_NODE: 25 rc = rc + node.data26 return rc25 rc.append(node.data) 26 return ''.join(rc) 27 27 28 28 def handleSlideshow(slideshow):
Note:
See TracChangeset
for help on using the changeset viewer.