Add doctests to all methods of PolynomialRing and FractionField
Add doctests to all methods of PolynomialRing and FractionField

This excludes the factorial() methods, which don't work, and I am not
quite sure how they are supposed to (what is factorial(DMP([ZZ(1),
ZZ(1)], ZZ))? Or is is supposed to be factorial(DMP([ZZ(4)], ZZ)) ==
DMP([ZZ(24)], ZZ)?).

MechCoder/sympy,ahhda/sympy,pandeyadarsh/sympy,Vishluck/sympy,saurabhjn76/sympy,ga7g08/sympy,Titan-C/sympy,ahhda/sympy,moble/sympy,pandeyadarsh/sympy,Curious72/sympy,madan96/sympy,atreyv/sympy,yashsharan/sympy,cccfran/sympy,liangjiaxing/sympy,kaushik94/sympy,lidavidm/sympy,beni55/sympy,rahuldan/sympy,Arafatk/sympy,Titan-C/sympy,Curious72/sympy,Mitchkoens/sympy,abhiii5459/sympy,vipulroxx/sympy,skirpichev/omg,yukoba/sympy,bukzor/sympy,rahuldan/sympy,ChristinaZografou/sympy,VaibhavAgarwalVA/sympy,cswiercz/sympy,Davidjohnwilson/sympy,sahmed95/sympy,sunny94/temp,jerli/sympy,diofant/diofant,aktech/sympy,AunShiLord/sympy,sahmed95/sympy,amitjamadagni/sympy,kmacinnis/sympy,jamesblunt/sympy,Shaswat27/sympy,souravsingh/sympy,toolforger/sympy,souravsingh/sympy,kmacinnis/sympy,kumarkrishna/sympy,meghana1995/sympy,iamutkarshtiwari/sympy,liangjiaxing/sympy,kevalds51/sympy,maniteja123/sympy,pbrady/sympy,shipci/sympy,sampadsaha5/sympy,mcdaniel67/sympy,Vishluck/sympy,AkademieOlympia/sympy,drufat/sympy,wanglongqi/sympy,AkademieOlympia/sympy,jaimahajan1997/sympy,wanglongqi/sympy,oliverlee/sympy,kaichogami/sympy,MridulS/sympy,chaffra/sympy,jerli/sympy,skidzo/sympy,moble/sympy,Davidjohnwilson/sympy,atsao72/sympy,skidzo/sympy,Arafatk/sympy,ga7g08/sympy,jbbskinny/sympy,chaffra/sympy,yashsharan/sympy,shipci/sympy,AunShiLord/sympy,garvitr/sympy,lidavidm/sympy,Shaswat27/sympy,pandeyadarsh/sympy,atsao72/sympy,rahuldan/sympy,jamesblunt/sympy,farhaanbukhsh/sympy,AkademieOlympia/sympy,hargup/sympy,Arafatk/sympy,mcdaniel67/sympy,debugger22/sympy,Titan-C/sympy,shikil/sympy,farhaanbukhsh/sympy,meghana1995/sympy,jerli/sympy,sampadsaha5/sympy,grevutiu-gabriel/sympy,drufat/sympy,atreyv/sympy,kaushik94/sympy,hrashk/sympy,hrashk/sympy,yukoba/sympy,atsao72/sympy,madan96/sympy,sahmed95/sympy,Gadal/sympy,wyom/sympy,mafiya69/sympy,sunny94/temp,postvakje/sympy,cccfran/sympy,yashsharan/sympy,garvitr/sympy,kmacinnis/sympy,maniteja123/sympy,kevalds51/sympy,AunShiLord/sympy,beni55/sympy,hargup/sympy,MridulS/sympy,aktech/sympy,grevutiu-gabriel/sympy,oliverlee/sympy,shikil/sympy,emon10005/sympy,wyom/sympy,VaibhavAgarwalVA/sympy,iamutkarshtiwari/sympy,mcdaniel67/sympy,abloomston/sympy,kaichogami/sympy,toolforger/sympy,jbbskinny/sympy,kaushik94/sympy,dqnykamp/sympy,sampadsaha5/sympy,jaimahajan1997/sympy,oliverlee/sympy,Gadal/sympy,Sumith1896/sympy,asm666/sympy,lidavidm/sympy,lindsayad/sympy,aktech/sympy,Shaswat27/sympy,jaimahajan1997/sympy,Designist/sympy,Mitchkoens/sympy,lindsayad/sympy,hrashk/sympy,Designist/sympy,souravsingh/sympy,Mitchkoens/sympy,bukzor/sympy,debugger22/sympy,skidzo/sympy,grevutiu-gabriel/sympy,mafiya69/sympy,debugger22/sympy,garvitr/sympy,shipci/sympy,chaffra/sympy,abloomston/sympy,vipulroxx/sympy,ChristinaZografou/sympy,MridulS/sympy,jamesblunt/sympy,asm666/sympy,cccfran/sympy,sahilshekhawat/sympy,kevalds51/sympy,Sumith1896/sympy,emon10005/sympy,iamutkarshtiwari/sympy,saurabhjn76/sympy,dqnykamp/sympy,abloomston/sympy,postvakje/sympy,abhiii5459/sympy,Gadal/sympy,sahilshekhawat/sympy,liangjiaxing/sympy,jbbskinny/sympy,kumarkrishna/sympy,saurabhjn76/sympy,hargup/sympy,yukoba/sympy,kaichogami/sympy,toolforger/sympy,cswiercz/sympy,meghana1995/sympy,ahhda/sympy,Curious72/sympy,asm666/sympy,cswiercz/sympy,VaibhavAgarwalVA/sympy,dqnykamp/sympy,pbrady/sympy,abhiii5459/sympy,maniteja123/sympy,farhaanbukhsh/sympy,pbrady/sympy,sunny94/temp,sahilshekhawat/sympy,postvakje/sympy,MechCoder/sympy,lindsayad/sympy,madan96/sympy,vipulroxx/sympy,shikil/sympy,amitjamadagni/sympy,ChristinaZografou/sympy,ga7g08/sympy,kumarkrishna/sympy,Davidjohnwilson/sympy,Sumith1896/sympy,moble/sympy,Designist/sympy,drufat/sympy,beni55/sympy,wanglongqi/sympy,Vishluck/sympy,atreyv/sympy,wyom/sympy,emon10005/sympy,mafiya69/sympy,bukzor/sympy,MechCoder/sympy