diff flatten_lines.py @ 318:f44ad8de0d17

more flatten_lines work
author cat@eee
date Thu, 11 Feb 2010 11:25:35 -0500
parents de23e595bb5c
children c58cd7e48db7
line wrap: on
line diff
--- a/flatten_lines.py	Thu Feb 11 09:08:22 2010 -0500
+++ b/flatten_lines.py	Thu Feb 11 11:25:35 2010 -0500
@@ -13,3 +13,7 @@
     result = [r.strip() for r in result if r.strip()]
     return result
 doctest.testmod()
+
+class LineList(list):
+    def __add__(self, newmember):
+