Skip to content

Commit a8cb4fc

Browse files
committed
move typeshed import statement to top
1 parent d9a86c0 commit a8cb4fc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test-data/unit/fixtures/object_with_init_subclass.pyi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
from typing import Sequence, Iterator, TypeVar, Mapping, Iterable, Optional, Union, overload, Tuple, Generic, List
2+
import _typeshed
3+
24

35
class object:
46
def __init__(self) -> None: ...
@@ -59,4 +61,3 @@ class dict(Mapping[KT, VT]):
5961
@overload
6062
def get(self, k: KT, default: Union[KT, T]) -> Union[VT, T]: pass
6163
def __len__(self) -> int: ...
62-
import _typeshed

0 commit comments

Comments
 (0)