From 4965feb42be4366b15b0a412dd8bafb6b1a31618 Mon Sep 17 00:00:00 2001 From: lightmanLP Date: Wed, 9 Oct 2024 04:55:04 +0700 Subject: [PATCH] 0.1.4.5 hotfix --- pyproject.toml | 2 +- yamt/misc.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 97c24ae..b55f3de 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "yamt" -version = "0.1.4.4" +version = "0.1.4.5" description = "yet another monkey toolkit" authors = ["lightmanLP ", "mikk357 "] license = "MIT" diff --git a/yamt/misc.py b/yamt/misc.py index 1534112..c0d572f 100644 --- a/yamt/misc.py +++ b/yamt/misc.py @@ -215,7 +215,7 @@ class IterativeRandomizer(Generic[T]): def __init__(self, data: Iterable[T]) -> None: self.data = list(data) - def __iter__(self) -> Self: + def __iter__(self) -> "Self": return self def __next__(self) -> T: