sympy/sympy — pull request #8160 by vaibhav4595 (2014-10-01 18:22:28+00:00)
Title: multiplicity function edited , now returns inifinity when n equals 0, and also returns infinty when p equals 2 and n equals zero, which previously was returning one 

for issue 8159 and 8145