snakia.platform.layer

Functions

final(f)

A decorator to indicate final methods and final classes.

overload(func)

Decorator for overloaded functions/methods.

Classes

Generic()

Abstract base class for generic types.

PlatformLayer(platform)

PlatformOS(value)

An enumeration.

TypeVar(name, *constraints[, bound, ...])

Type variable.

class snakia.platform.layer.PlatformLayer(platform)[source]

Bases: Generic[T]

final __init__(platform)[source]
target: ClassVar[PlatformOS] = 0
classmethod try_get(platform, /)[source]
Return type:

Optional[Self]