Skip to content

Commit a5bbe3e

Browse files
committed
Remove optional parameter.
1 parent d59bad5 commit a5bbe3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chess/engine.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1875,11 +1875,11 @@ def _parse_uci_bestmove(board: chess.Board, args: str) -> BestMove:
18751875
return BestMove(move, ponder)
18761876

18771877

1878-
def _chain_config(a: ConfigMapping, b: ConfigMapping, with_hash_reordering: bool = True) -> Iterator[Tuple[str, ConfigValue]]:
1878+
def _chain_config(a: ConfigMapping, b: ConfigMapping) -> Iterator[Tuple[str, ConfigValue]]:
18791879
merged = dict(a)
18801880
for k, v in b.items():
18811881
merged.setdefault(k, v)
1882-
if with_hash_reordering and 'Hash' in merged and 'Threads' in merged:
1882+
if 'Hash' in merged and 'Threads' in merged:
18831883
hash_val = merged['Hash']
18841884
del merged['Hash']
18851885
merged['Hash'] = hash_val

0 commit comments

Comments
 (0)