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:
Sebastian Rittau
2020-06-14 16:58:26 +02:00
committed by GitHub
parent 53431cab1d
commit 89d3a55f1a
12 changed files with 14 additions and 45 deletions

View File

@@ -1,12 +1,10 @@
# Stubs for sysconfig
from typing import overload, Any, Dict, IO, List, Optional, Tuple, Union
def get_config_var(name: str) -> Optional[str]: ...
@overload
def get_config_vars() -> Dict[str, Any]: ...
@overload
def get_config_vars(arg: str, *args: str) -> List[Any]: ...
def get_config_var(name: str) -> Optional[str]: ...
def get_scheme_names() -> Tuple[str, ...]: ...
def get_path_names() -> Tuple[str, ...]: ...
def get_path(name: str, scheme: str = ..., vars: Optional[Dict[str, Any]] = ..., expand: bool = ...) -> Optional[str]: ...