Ah!  So now I know why I had Py_ssize_t in that declaration in the first place.  I must have been looking at the Python source code.

I agree that it should be OK to change to Py_ssize_t in Cython declarations.