Skip to content
masterclass Buddy

Python · Type Alias

Any

Any is an unconstrained type for static typing. Type checkers allow every type to be assigned to Any and allow Any to be assigned to every type.

Last updated

Since
3.5

Syntax

from typing import Any
value: Any

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • object
  • typing
  • TypeVar
  • Generic

Source: typing — Support for type hints — Python 3.15.2 documentation. Checked 2026-11-03.