Skip to content

Commit b0ff7ef

Browse files
committed
Fixed initialization of EvaluationContext
1 parent 96d5c3d commit b0ff7ef

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

71_Poker/python/pokerhand/evaluation.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,11 @@ class HandEvaluation:
2525
hand_rank: HandRank
2626
high_card: Card
2727
discard_indices: list[int]
28-
_ctx: "_EvaluationContext | None"
28+
_ctx: "_EvaluationContext"
2929

3030
def __init__(self, hand: "Hand"):
3131
"""Perform evaluation of the provided hand."""
3232
self.discard_indices = []
33-
self._ctx = None
3433
self._evaluate(hand)
3534

3635
def __str__(self) -> str:

0 commit comments

Comments
 (0)