Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions mahjong/hand_calculating/yaku.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import warnings
from collections.abc import Collection, Sequence
from typing import Optional

Expand Down Expand Up @@ -38,13 +37,3 @@ def set_attributes(self) -> None:
Set id, name, han related to the yaku
"""
raise NotImplementedError

@property
def english(self) -> str:
warnings.warn("Use .name attribute instead of .english attribute", DeprecationWarning, stacklevel=2)
return self.name

@property
def japanese(self) -> str:
warnings.warn("Use .name attribute instead of .japanese attribute", DeprecationWarning, stacklevel=2)
return self.name