About 50 results
Open links in new tab
  1. typing — Support for type hints — Python 3.14.2 documentation

    Jan 18, 2026 · While type hints can be simple classes like float or str, they can also be more complex. The typing module provides a vocabulary of more advanced type hints. New features are frequently …

  2. Deprecations — Python 3.14.3 documentation

    2 days ago · For use in type annotations, either use Buffer or a union that explicitly specifies the types your code supports (e.g., bytes | bytearray | memoryview). ByteString was originally intended to be …

  3. What’s New In Python 3.11 — Python 3.14.3 documentation

    New Features Related to Type Hints ¶ This section covers major changes affecting PEP 484 type hints and the typing module.

  4. types — Dynamic type creation and names for built-in types

    4 days ago · This module provides names for many of the types that are required to implement a Python interpreter. It deliberately avoids including some of the types that arise only incidentally during …

  5. Python 3.14.3 documentation

    3 days ago · The official Python documentation.

  6. 7. Simple statements — Python 3.14.3 documentation

    4 days ago · When specifying what module to import you do not have to specify the absolute name of the module. When a module or package is contained within another package it is possible to make a …

  7. collections.abc — Abstract Base Classes for Containers

    2 days ago · This module provides abstract base classes that can be used to test whether a class provides a particular interface; for example, whether it is hashable or whether it is a mapping.

  8. What’s New In Python 3.12 — Python 3.14.3 documentation

    4 days ago · The new type parameter syntax and type statement improve ergonomics for using generic types and type aliases with static type checkers. This article doesn’t attempt to provide a complete …

  9. What’s New In Python 3.13 — Python 3.14.2 documentation

    Jan 17, 2026 · For example, the import time of the typing module has been reduced by around a third by removing dependencies on re and contextlib. Other modules to enjoy import-time speedups include …

  10. importlib — The implementation of import — Python 3.14.3 …

    3 days ago · This class only works with loaders that define exec_module() as control over what module type is used for the module is required. For those same reasons, the loader’s create_module() …