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
4 changes: 1 addition & 3 deletions mahjong/hand_calculating/hand.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ class _CalculatedHand(TypedDict):
# suit bitmask: sou=1, pin=2, man=4
_ALL_SUITS_MASK = 7

_DEFAULT_CONFIG = HandConfig()


class HandCalculator:
"""
Expand Down Expand Up @@ -190,7 +188,7 @@ def estimate_hand_value(
if not ura_dora_indicators:
ura_dora_indicators = []

config = config or _DEFAULT_CONFIG
config = config or HandConfig()

hand_yaku = []
scores_calculator = scores_calculator_factory()
Expand Down
Loading