mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
_osx_support: fix _read_output (#6436)
* _osx_support: fix _read_output * [pre-commit.ci] auto fixes from pre-commit.com hooks Co-authored-by: hauntsaninja <> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import sys
|
||||
from typing import Iterable, Sequence, Tuple, TypeVar
|
||||
|
||||
_T = TypeVar("_T")
|
||||
@@ -11,7 +12,13 @@ _COMPILER_CONFIG_VARS: Tuple[str, ...] # undocumented
|
||||
_INITPRE: str # undocumented
|
||||
|
||||
def _find_executable(executable: str, path: str | None = ...) -> str | None: ... # undocumented
|
||||
def _read_output(commandstring: str) -> str | None: ... # undocumented
|
||||
|
||||
if sys.version_info >= (3, 7):
|
||||
def _read_output(commandstring: str, capture_stderr: bool = ...) -> str | None: ... # undocumented
|
||||
|
||||
else:
|
||||
def _read_output(commandstring: str) -> str | None: ... # undocumented
|
||||
|
||||
def _find_build_tool(toolname: str) -> str: ... # undocumented
|
||||
|
||||
_SYSTEM_VERSION: str | None # undocumented
|
||||
|
||||
Reference in New Issue
Block a user