Backport inspect.getmembers() from Python 2.7
Backport inspect.getmembers() from Python 2.7

This makes the docs compile with Python versions < 2.6.

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