Parent Directory | Revision Log | Patch
revision 1.10 by lalo, Thu Feb 27 18:37:50 2003 UTC | revision 1.11 by lalo, Sun Apr 13 13:03:15 2003 UTC | |
---|---|---|
# | Line 40 def pack_list(self): | Line 40 def pack_list(self): |
40 | "remove Nones, expand tuples" | "remove Nones, expand tuples" |
41 | if hasattr(self, 'join'): | if hasattr(self, 'join'): |
42 | return self | return self |
43 | if hasattr(self, pack): | |
44 | return self.pack() | |
45 | is_tuple = type(self) is types.TupleType | is_tuple = type(self) is types.TupleType |
46 | result = [] | result = [] |
47 | for child in self: | for child in self: |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |