Skip to content

Commit

Permalink
More typography (closes #310)
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasf committed Oct 13, 2018
1 parent f4e7c53 commit 064414f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chess/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def square(file_index, rank_index):
return rank_index * 8 + file_index

def square_file(square):
"""Gets the file index of the square where ``0`` is the a file."""
"""Gets the file index of the square where ``0`` is the a-file."""
return square & 7

def square_rank(square):
Expand Down

0 comments on commit 064414f

Please sign in to comment.