Simplify/optimize iscoroutine()
Simplify/optimize iscoroutine()

Inline inspect.isgenerator(obj): replace it with isinstance(obj,
types.GeneratorType).

jashandeep-sohi/asyncio,gsb-eng/asyncio,ajdavis/asyncio,haypo/trollius,gvanrossum/asyncio,gsb-eng/asyncio,fallen/asyncio,manipopopo/asyncio,manipopopo/asyncio,jashandeep-sohi/asyncio,Martiusweb/asyncio,vxgmichel/asyncio,haypo/trollius,haypo/trollius,Martiusweb/asyncio,vxgmichel/asyncio,fallen/asyncio,1st1/asyncio,gsb-eng/asyncio,vxgmichel/asyncio,gvanrossum/asyncio,fallen/asyncio,Martiusweb/asyncio,gvanrossum/asyncio,1st1/asyncio,ajdavis/asyncio,1st1/asyncio,manipopopo/asyncio,jashandeep-sohi/asyncio,ajdavis/asyncio