mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Preparations for the Big Reformat (#4228)
A few comments between imports were removed or moved to the top of the import block, due to behavioral differences between black and isort. See psf/black#251 for details. In two instances @overloads at the top of the file needed to be moved due to psf/black#1490.
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
# Stubs for contextlib
|
||||
|
||||
# ContextManager aliased here for backwards compatibility; TODO eventually remove this
|
||||
from typing import (
|
||||
Any, Callable, Generator, IO, Iterable, Iterator, Optional, Type,
|
||||
Generic, TypeVar, overload
|
||||
)
|
||||
from types import TracebackType
|
||||
import sys
|
||||
# Aliased here for backwards compatibility; TODO eventually remove this
|
||||
from typing import ContextManager as ContextManager
|
||||
|
||||
if sys.version_info >= (3, 5):
|
||||
|
||||
Reference in New Issue
Block a user