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
2.1 --- a/vint.pyx Wed Sep 16 00:45:18 2009 +0200
2.2 +++ b/vint.pyx Wed Sep 16 21:02:35 2009 +0200
2.3 @@ -1,5 +1,23 @@
2.4 #!/usr/bin/env python
2.5
2.6 +"""
2.7 +A variable-length integer encoding implementation in Pyrex.
2.8 +
2.9 +Copyright (C) 2009 Paul Boddie <paul@boddie.org.uk>
2.10 +
2.11 +This program is free software; you can redistribute it and/or modify it under
2.12 +the terms of the GNU General Public License as published by the Free Software
2.13 +Foundation; either version 3 of the License, or (at your option) any later
2.14 +version.
2.15 +
2.16 +This program is distributed in the hope that it will be useful, but WITHOUT ANY
2.17 +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
2.18 +PARTICULAR PURPOSE. See the GNU General Public License for more details.
2.19 +
2.20 +You should have received a copy of the GNU General Public License along
2.21 +with this program. If not, see <http://www.gnu.org/licenses/>.
2.22 +"""
2.23 +
2.24 cdef extern from "Python.h":
2.25 object PyString_FromStringAndSize(char *, int)
2.26