1.1 --- a/itermerge.py Wed Sep 16 00:45:18 2009 +0200
1.2 +++ b/itermerge.py Wed Sep 16 21:02:35 2009 +0200
1.3 @@ -1,6 +1,22 @@
1.4 #!/usr/bin/env python
1.5
1.6 -"An iterator merging class similar to heapq.merge in Python 2.6."
1.7 +"""
1.8 +An iterator merging class similar to heapq.merge in Python 2.6.
1.9 +
1.10 +Copyright (C) 2009 Paul Boddie <paul@boddie.org.uk>
1.11 +
1.12 +This program is free software; you can redistribute it and/or modify it under
1.13 +the terms of the GNU General Public License as published by the Free Software
1.14 +Foundation; either version 3 of the License, or (at your option) any later
1.15 +version.
1.16 +
1.17 +This program is distributed in the hope that it will be useful, but WITHOUT ANY
1.18 +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1.19 +PARTICULAR PURPOSE. See the GNU General Public License for more details.
1.20 +
1.21 +You should have received a copy of the GNU General Public License along
1.22 +with this program. If not, see <http://www.gnu.org/licenses/>.
1.23 +"""
1.24
1.25 from bisect import insort_right
1.26