Skip to content
Closed
Prev Previous commit
Next Next commit
[pre-commit.ci] auto fixes from pre-commit.com hooks
  • Loading branch information
pre-commit-ci[bot] committed Dec 16, 2021
commit a7b0d67469346554e25764068b219d8c79b3b226
2 changes: 1 addition & 1 deletion stdlib/logging/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ from io import TextIOWrapper
from string import Template
from time import struct_time
from types import FrameType, TracebackType
from typing import Any, ClassVar, Generic, Pattern, TextIO, Tuple, Type, TypeVar, overload, Union
from typing import Any, ClassVar, Generic, Pattern, TextIO, Tuple, Type, TypeVar, Union, overload
from typing_extensions import Literal

_SysExcInfoType = Tuple[Type[BaseException], BaseException, TracebackType | None] | Tuple[None, None, None]
Expand Down
2 changes: 1 addition & 1 deletion stdlib/subprocess.pyi
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import sys
from _typeshed import Self, StrOrBytesPath
from types import TracebackType
from typing import IO, Any, AnyStr, Callable, Generic, Iterable, Mapping, Sequence, Type, TypeVar, overload, Union
from typing import IO, Any, AnyStr, Callable, Generic, Iterable, Mapping, Sequence, Type, TypeVar, Union, overload
from typing_extensions import Literal

if sys.version_info >= (3, 9):
Expand Down
2 changes: 1 addition & 1 deletion stdlib/tempfile.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import os
import sys
from _typeshed import Self
from types import TracebackType
from typing import IO, Any, AnyStr, Generic, Iterable, Iterator, Tuple, Type, overload, Union
from typing import IO, Any, AnyStr, Generic, Iterable, Iterator, Tuple, Type, Union, overload
from typing_extensions import Literal

if sys.version_info >= (3, 9):
Expand Down
6 changes: 2 additions & 4 deletions stdlib/xmlrpc/client.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,14 @@ from _typeshed import Self, SupportsRead, SupportsWrite
from datetime import datetime
from io import BytesIO
from types import TracebackType
from typing import Any, Callable, Dict, Iterable, List, Mapping, Protocol, Tuple, Type, overload, Union
from typing import Any, Callable, Dict, Iterable, List, Mapping, Protocol, Tuple, Type, Union, overload
from typing_extensions import Literal

class _SupportsTimeTuple(Protocol):
def timetuple(self) -> time.struct_time: ...

_DateTimeComparable = DateTime | datetime | str | _SupportsTimeTuple
_Marshallable = Union[
None, bool, int, float, str, bytes, Tuple[Any, ...], List[Any], Dict[Any, Any], datetime, DateTime, Binary
]
_Marshallable = Union[None, bool, int, float, str, bytes, Tuple[Any, ...], List[Any], Dict[Any, Any], datetime, DateTime, Binary]
_XMLDate = int | datetime | Tuple[int, ...] | time.struct_time
_HostType = Tuple[str, Dict[str, str]] | str

Expand Down