Skip to content

Commit

Permalink
revert imports used by type comments
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmojaki committed Nov 24, 2024
1 parent 062db01 commit b72b6ce
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions asttokens/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,10 @@
import sys
import token
import tokenize
from ast import AST
from abc import ABCMeta
from ast import Module, expr, AST
from functools import lru_cache
from typing import (
TYPE_CHECKING,
Callable,
Optional,
Union,
cast,
)

from typing import Callable, Dict, Iterable, Iterator, List, Optional, Tuple, Union, cast, Any, TYPE_CHECKING

if TYPE_CHECKING: # pragma: no cover
from .astroid_compat import NodeNG
Expand Down

0 comments on commit b72b6ce

Please sign in to comment.