File: typing.py

package info (click to toggle)
flask-limiter 3.12-2
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 1,264 kB
  • sloc: python: 6,432; makefile: 165; sh: 67
file content (21 lines) | stat: -rw-r--r-- 301 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from __future__ import annotations

from collections.abc import Callable, Generator, Sequence
from typing import (
    ParamSpec,
    TypeVar,
    cast,
)

R = TypeVar("R")
P = ParamSpec("P")

__all__ = [
    "Callable",
    "Generator",
    "P",
    "R",
    "Sequence",
    "TypeVar",
    "cast",
]