Skip to content

Commit 6ff5b88

Browse files
authored
typeshed: remove crufty comments (#4699)
Co-authored-by: hauntsaninja <>
1 parent 3de732e commit 6ff5b88

File tree

270 files changed

+16
-684
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

270 files changed

+16
-684
lines changed

stdlib/2/BaseHTTPServer.pyi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# Stubs for BaseHTTPServer (Python 2.7)
2-
31
import mimetools
42
import SocketServer
53
from typing import Any, BinaryIO, Callable, Mapping, Optional, Tuple, Union

stdlib/2/CGIHTTPServer.pyi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# Stubs for CGIHTTPServer (Python 2.7)
2-
31
import SimpleHTTPServer
42
from typing import List
53

stdlib/2/Queue.pyi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# Stubs for Queue (Python 2)
2-
31
from collections import deque
42
from typing import Any, Deque, Generic, Optional, TypeVar
53

stdlib/2/SimpleHTTPServer.pyi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# Stubs for SimpleHTTPServer (Python 2)
2-
31
import BaseHTTPServer
42
from StringIO import StringIO
53
from typing import IO, Any, AnyStr, Mapping, Optional, Union

stdlib/2/SocketServer.pyi

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# NB: SocketServer.pyi and socketserver.pyi must remain consistent!
2-
# Stubs for socketserver
3-
41
import sys
52
import types
63
from socket import SocketType

stdlib/2/StringIO.pyi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# Stubs for StringIO (Python 2)
2-
31
from typing import IO, Any, AnyStr, Generic, Iterable, Iterator, List, Optional
42

53
class StringIO(IO[AnyStr], Generic[AnyStr]):

stdlib/2/_collections.pyi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
"""Stub file for the '_collections' module."""
2-
31
from typing import Any, Callable, Dict, Generic, Iterator, Optional, TypeVar, Union
42

53
_K = TypeVar("_K")

stdlib/2/_functools.pyi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
"""Stub file for the '_functools' module."""
2-
31
from typing import Any, Callable, Dict, Iterable, Optional, Tuple, TypeVar, overload
42

53
_T = TypeVar("_T")

stdlib/2/_hotshot.pyi

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
"""Stub file for the '_hotshot' module."""
2-
# This is an autogenerated file. It serves as a starting point
3-
# for a more precise manual annotation of this module.
4-
# Feel free to edit the source below, but remove this header when you do.
5-
61
from typing import Any, Dict, Generic, List, Tuple
72

83
def coverage(a: str) -> Any: ...

stdlib/2/_sre.pyi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
"""Stub file for the '_sre' module."""
2-
31
from typing import Any, Dict, Iterable, List, Mapping, Optional, Sequence, Tuple, Union, overload
42

53
CODESIZE: int

0 commit comments

Comments
 (0)