# HG changeset patch # User Paul Boddie # Date 1253127755 -7200 # Node ID b52d9f014413ca2a55557d22456238893d16150f # Parent 4ce5005d3fc786eb3c48ffe6daad13387ab42591 Added copyright and licensing information. diff -r 4ce5005d3fc7 -r b52d9f014413 itermerge.py --- a/itermerge.py Wed Sep 16 00:45:18 2009 +0200 +++ b/itermerge.py Wed Sep 16 21:02:35 2009 +0200 @@ -1,6 +1,22 @@ #!/usr/bin/env python -"An iterator merging class similar to heapq.merge in Python 2.6." +""" +An iterator merging class similar to heapq.merge in Python 2.6. + +Copyright (C) 2009 Paul Boddie + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; either version 3 of the License, or (at your option) any later +version. + +This program is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +PARTICULAR PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program. If not, see . +""" from bisect import insort_right diff -r 4ce5005d3fc7 -r b52d9f014413 vint.pyx --- a/vint.pyx Wed Sep 16 00:45:18 2009 +0200 +++ b/vint.pyx Wed Sep 16 21:02:35 2009 +0200 @@ -1,5 +1,23 @@ #!/usr/bin/env python +""" +A variable-length integer encoding implementation in Pyrex. + +Copyright (C) 2009 Paul Boddie + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; either version 3 of the License, or (at your option) any later +version. + +This program is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +PARTICULAR PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program. If not, see . +""" + cdef extern from "Python.h": object PyString_FromStringAndSize(char *, int)