Skip to content

Commit f780f42

Browse files
authored
Merge pull request #1181 from cakiki/patch-1
[MINOR:TYPO] Update pgn.py
2 parents 312f3bf + fc50a27 commit f780f42

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

chess/pgn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ def remove_variation(self, move: Union[int, chess.Move, GameNode]) -> None:
402402

403403
def add_variation(self, move: chess.Move, *, comment: Union[str, list[str]] = "", starting_comment: Union[str, list[str]] = "", nags: Iterable[int] = []) -> ChildNode:
404404
"""Creates a child node with the given attributes."""
405-
# Instanciate ChildNode only in this method.
405+
# Instantiate ChildNode only in this method.
406406
return ChildNode(self, move, comment=comment, starting_comment=starting_comment, nags=nags)
407407

408408
def add_main_variation(self, move: chess.Move, *, comment: str = "", nags: Iterable[int] = []) -> ChildNode:

0 commit comments

Comments
 (0)