Fixed incorrectly generated code by cython.
Merge pull request #136 from thocevar/cython

Fixed incorrectly generated code by cython (BasketReader).