Skip to content

Commit

Permalink
Added imports.
Browse files Browse the repository at this point in the history
  • Loading branch information
emeryberger committed Dec 7, 2023
1 parent 7a5cb6d commit adebb7f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions scalene/get_module_details.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
import importlib
import sys

from importlib.abc import SourceLoader
from importlib.machinery import ModuleSpec
from types import CodeType, FrameType
from typing import (
Any,
Callable,
Dict,
List,
Optional,
Set,
Tuple,
Type,
Union,
cast,
)


def _get_module_details(
mod_name: str,
error: Type[Exception] = ImportError,
Expand Down

0 comments on commit adebb7f

Please sign in to comment.