py: Small big fix to type declarations.