Remove unused import statements (#2282)

This commit is contained in:
Yusuke Miyazaki
2018-06-28 12:14:57 +09:00
committed by Jelle Zijlstra
parent f8041d08db
commit 86883d3df9
11 changed files with 9 additions and 12 deletions

View File

@@ -3,7 +3,7 @@
# for a more precise manual annotation of this module.
# Feel free to edit the source below, but remove this header when you do.
from typing import Any, List, Tuple, Dict, Generic
from typing import Any
def _get_object_traceback(*args, **kwargs) -> Any: ...

View File

@@ -1,6 +1,6 @@
# NB: third_party/3/enum.pyi and stdlib/3.4/enum.pyi must remain consistent!
import sys
from typing import List, Any, TypeVar, Union, Iterator, TypeVar, Generic, Type, Sized, Mapping
from typing import Any, Iterator, List, Mapping, Type, TypeVar, Union
from abc import ABCMeta
_T = TypeVar('_T')

View File

@@ -1,7 +1,7 @@
# Stubs for tracemalloc (Python 3.4+)
import sys
from typing import Any, List, Optional, Sequence, Tuple, Union, overload
from typing import List, Optional, Sequence, Tuple, Union, overload
def clear_traces() -> None: ...
def get_object_traceback(obj: object) -> Optional[Traceback]: ...