Skip to content

Commit f7f4afa

Browse files
committed
tchess/movies.py: add a comment
1 parent 9bf92e1 commit f7f4afa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tchess/moves.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
In this module, we have some functions to validate different pieces moves.
44
"""
55

6+
# NOTE: the `self` argument for each function is the `Piece` object
7+
68
def pawn_move(self, game, src):
79
""" Validates pawn move """
810
x = src[0]

0 commit comments

Comments
 (0)