Compare commits
No commits in common. "88e9e9c17fddfca34f54d034a0a0496545ec9e65" and "1e73d19122d1f773e88a2f7fab3396ea9bd8c985" have entirely different histories.
88e9e9c17f
...
1e73d19122
@ -5,7 +5,7 @@ project(
|
|||||||
).stdout().strip('\n'),
|
).stdout().strip('\n'),
|
||||||
# 'online.fxreader.uv',
|
# 'online.fxreader.uv',
|
||||||
# ['c', 'cpp'],
|
# ['c', 'cpp'],
|
||||||
version: '0.1.5.17+27.23',
|
version: '0.1.5.17+27.22',
|
||||||
# default_options: [
|
# default_options: [
|
||||||
# 'cpp_std=c++23',
|
# 'cpp_std=c++23',
|
||||||
# # 'prefer_static=true',
|
# # 'prefer_static=true',
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
# https://gitea.fxreader.online/fxreader.online/freelance-project-34-marketing-blog/issues/2#issue-25
|
# https://gitea.fxreader.online/fxreader.online/freelance-project-34-marketing-blog/issues/2#issue-25
|
||||||
|
|
||||||
import typing
|
import typing
|
||||||
from typing import Any, TypeVar, Optional, Iterable, Sequence, cast
|
from typing import Any
|
||||||
from typing_extensions import Protocol
|
from typing_extensions import Protocol
|
||||||
from abc import abstractmethod
|
from abc import abstractmethod
|
||||||
|
|
||||||
@ -26,14 +26,3 @@ class Comparable(Protocol):
|
|||||||
|
|
||||||
def __ge__(self: C, other: C) -> bool:
|
def __ge__(self: C, other: C) -> bool:
|
||||||
return not self < other
|
return not self < other
|
||||||
|
|
||||||
|
|
||||||
T = TypeVar('T', bound='Iterable[Any] | Sequence[Any]')
|
|
||||||
|
|
||||||
|
|
||||||
def check_generic(o: Any, t: type[T]) -> T:
|
|
||||||
res = cast(T, o)
|
|
||||||
|
|
||||||
assert isinstance(o, t)
|
|
||||||
|
|
||||||
return res
|
|
||||||
|
|||||||
BIN
releases/whl/online_fxreader_pr34-0.1.5.17+27.23-py3-none-any.whl
(Stored with Git LFS)
BIN
releases/whl/online_fxreader_pr34-0.1.5.17+27.23-py3-none-any.whl
(Stored with Git LFS)
Binary file not shown.
Loading…
Reference in New Issue
Block a user