mirror of
https://github.com/torvalds/linux.git
synced 2026-09-14 16:10:02 +02:00
The metrics() function can return a dictionary where the value is either
a string or a list of strings, so the type signature in the stub file
should be Union[str, List[str]].
Fixes: 430da3cd03b4 ("perf python: Add perf.pyi stubs file")
Signed-off-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
|
||
|---|---|---|
| .. | ||
| counting.py | ||
| ilist.py | ||
| perf_live.py | ||
| perf.pyi | ||
| tracepoint.py | ||
| twatch.py | ||