Skip to content

Commit fc50a27

Browse files
authored
[MINOR:TYPO] Update pgn.py
instanciate -> instantiate
1 parent 312f3bf commit fc50a27

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)