Drop Python 3.3 support from several stubs (#2266)

* Drop Python 3.3 support from importlib stubs

* Drop Python 3.3 support from html and symbol stubs
This commit is contained in:
Sebastian Rittau
2018-06-21 01:46:11 +02:00
committed by Jelle Zijlstra
parent 1184726417
commit b05e99297c
16 changed files with 140 additions and 246 deletions

View File

@@ -3,7 +3,6 @@
import datetime
import socket
import ssl
import sys
from typing import Any, Dict, IO, Iterable, List, NamedTuple, Optional, Tuple, TypeVar, Union
_SelfT = TypeVar('_SelfT', bound=_NNTPBase)
@@ -51,9 +50,8 @@ class _NNTPBase:
def __init__(self, file: IO[bytes], host: str,
readermode: Optional[bool] = ..., timeout: float = ...) -> None: ...
if sys.version_info >= (3, 3):
def __enter__(self: _SelfT) -> _SelfT: ...
def __exit__(self, *args: Any) -> None: ...
def __enter__(self: _SelfT) -> _SelfT: ...
def __exit__(self, *args: Any) -> None: ...
def getwelcome(self) -> str: ...
def getcapabilities(self) -> Dict[str, List[str]]: ...
def set_debuglevel(self, level: int) -> None: ...