Drop Python 2 support from click-spinner (#7710)

This commit is contained in:
Sebastian Rittau authored and GitHub committed 2022-04-27 12:49:27 +03:00
1 parent 6245bc7432
commit 27af3dc6b1
2 files changed
+3 -4

No files matched your search

-2
View File
@@ -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