mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-24 12:01:52 +08:00
Drop Python 2 support from click-spinner (#7710)
This commit is contained in:
@@ -1,3 +1 @@
|
||||
version = "0.1.*"
|
||||
python2 = true
|
||||
requires = []
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
import threading
|
||||
from _typeshed import Self
|
||||
from collections.abc import Iterator
|
||||
from types import TracebackType
|
||||
from typing import Iterator, Protocol
|
||||
from typing import Protocol
|
||||
from typing_extensions import Literal
|
||||
|
||||
__version__: str
|
||||
@@ -11,7 +12,7 @@ class _Stream(Protocol):
|
||||
def flush(self) -> None: ...
|
||||
def write(self, s: str) -> int: ...
|
||||
|
||||
class Spinner(object):
|
||||
class Spinner:
|
||||
spinner_cycle: Iterator[str]
|
||||
disable: bool
|
||||
beep: bool
|
||||
|
||||
Reference in New Issue
Block a user