[Python-checkins] commit of r41654 - sandbox/trunk/seealso/parse-seealso.py

andrew.kuchling python-checkins at python.org
Mon Dec 12 21:03:59 CET 2005


Author: andrew.kuchling
Date: Mon Dec 12 21:03:59 2005
New Revision: 41654
Modified:
 sandbox/trunk/seealso/parse-seealso.py
Log:
Strip whitespace
Modified: sandbox/trunk/seealso/parse-seealso.py
==============================================================================
--- sandbox/trunk/seealso/parse-seealso.py	(original)
+++ sandbox/trunk/seealso/parse-seealso.py	Mon Dec 12 21:03:59 2005
@@ -32,7 +32,7 @@
 t += c.nodeValue
 elif c.nodeType == c.ELEMENT_NODE:
 t += get_text(c)
- return t
+ return t.strip()
 
 # Get document title and author
 author = document_title = document_url = None


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /