The Any type

The Any type is the canonical gradual type.

Any represents an unknown static type. It denotes some unknown set of values.

‘typing.Any’ is a name for the Any type that you can use in Python type annotations.

‘typing.Any’
Gradual types

Python typing is gradual, which means that a program type-checks if there is *some* materialization of gradual types that type-checks. Hence:

Every type is assignable to ‘Any’, and ‘Any’ is assignable to every type.
You can subclass ‘typing.Any’
» Languages » Python » Typing