mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-24 20:12:08 +08:00
typeshed: remove crufty comments (#4699)
Co-authored-by: hauntsaninja <>
This commit is contained in:
@@ -1,12 +1,7 @@
|
||||
# Stubs for cStringIO (Python 2.7)
|
||||
# See https://docs.python.org/2/library/stringio.html
|
||||
|
||||
from abc import ABCMeta
|
||||
from types import TracebackType
|
||||
from typing import IO, Iterable, Iterator, List, Optional, Union, overload
|
||||
|
||||
# TODO the typing.IO[] generics should be split into input and output.
|
||||
|
||||
# This class isn't actually abstract, but you can't instantiate it
|
||||
# directly, so we might as well treat it as abstract in the stub.
|
||||
class InputType(IO[str], Iterator[str], metaclass=ABCMeta):
|
||||
|
||||
Reference in New Issue
Block a user