On this page
  1. types.AsyncGeneratorType
  2. Import
  3. Signature & Overview
  4. Methods & Attributes
  5. Usage
  6. Gotchas
  7. REPL Inspect

types.AsyncGeneratorType

Up: types | Next: types.BuiltinFunctionType
Rel: types.BuiltinFunctionType, types.BuiltinMethodType, types.CapsuleType, types.CellType
Ref: docs.python.org — types.AsyncGeneratorType
Tags: #public #python3 #stdlib #types


Import

import types
from types import AsyncGeneratorType

Signature & Overview

types.AsyncGeneratorType()

types.AsyncGeneratorType class.

Methods & Attributes

Usage

import types

async def ag(): yield 1
assert isinstance(ag(), types.AsyncGeneratorType)

Gotchas

REPL Inspect

from types import AsyncGeneratorType
help(AsyncGeneratorType)

Linked from

Related notes