mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-26 04:46:46 +08:00
committed by
Łukasz Langa
parent
93bb4604cb
commit
2cb8e184cc
3
third_party/3/six/__init__.pyi
vendored
3
third_party/3/six/__init__.pyi
vendored
@@ -23,6 +23,7 @@ from typing import (
|
||||
import types
|
||||
import typing
|
||||
import unittest
|
||||
from mypy_extensions import NoReturn
|
||||
|
||||
# Exports
|
||||
from io import StringIO as StringIO, BytesIO as BytesIO
|
||||
@@ -92,7 +93,7 @@ def assertRegex(self: unittest.TestCase, text: AnyStr, expected_regex: Union[Any
|
||||
|
||||
exec_ = exec
|
||||
|
||||
def reraise(tp: Optional[Type[BaseException]], value: Optional[BaseException], tb: Optional[types.TracebackType] = None) -> None: ...
|
||||
def reraise(tp: Optional[Type[BaseException]], value: Optional[BaseException], tb: Optional[types.TracebackType] = None) -> NoReturn: ...
|
||||
def raise_from(value: BaseException, from_value: BaseException) -> None: ...
|
||||
|
||||
print_ = print
|
||||
|
||||
Reference in New Issue
Block a user