P doesn't need to be capitalized. You should also specify that this is a Theano variable (same comment about docstring formatting).