File: run_module.pyi

package info (click to toggle)
python-line-profiler 5.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,256 kB
  • sloc: python: 8,119; sh: 810; ansic: 297; makefile: 14
file content (21 lines) | stat: -rw-r--r-- 410 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import ast

from .ast_tree_profiler import AstTreeProfiler


def get_module_from_importfrom(node: ast.ImportFrom, module: str) -> str:
    ...


class ImportFromTransformer(ast.NodeTransformer):
    def __init__(self, module: str) -> None:
        ...

    def visit_ImportFrom(self, node: ast.ImportFrom) -> ast.ImportFrom:
        ...

    module: str


class AstTreeModuleProfiler(AstTreeProfiler):
    ...