types — Dynamic type creation and names for built-in types — Python 3.9.25 documentation

docs.python.org

Tin mới

weakref — Weak references

copy — Shallow and deep copy operations

Python documentation for the current stable release

Python documentation for the current stable release

This module defines utility functions to assist in dynamic creation of new types.

Python Module Index

3.9.25 Documentation

The Python Standard Library

Dynamic Type Creation¶

This module defines utility functions to assist in dynamic creation of new types.

Dynamic Type Creation¶

This module defines utility functions to assist in dynamic creation of new types.

asynchronous generator

The type of asynchronous generator-iterator objects, created by asynchronous generator functions.

importlib.util.module_from_spec()

Use importlib.util.module_from_spec() to create a new module if you wish to set the various import-controlled attributes.

the language reference

The type of traceback objects such as found in sys.exc_info()[2].

collections.namedtuple

A simple object subclass that provides attribute access to its namespace, as well as a meaningful repr.

collections.abc.Generator

This function transforms a generator function into a coroutine function which returns a generator-based coroutine. The generator-based coroutine is still a generator iterator, but is also considered to be a coroutine obj