From d6e2568319dc01f123d8d7cddf8a85cbeb292cb4 Mon Sep 17 00:00:00 2001 From: Harishankar Date: Sun, 5 Dec 2010 17:46:36 +0530 Subject: [PATCH] Fixed order of tuple in return statement Fixed order of tuple in returning row, col in get_word_across () function --- crosswordpuzzle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crosswordpuzzle.py b/crosswordpuzzle.py index 8091d3d..4e291db 100644 --- a/crosswordpuzzle.py +++ b/crosswordpuzzle.py @@ -173,7 +173,7 @@ class CrosswordPuzzle: word = "".join (word_chars) # return the word, starting column, row and length as a tuple - return (word, start_col, row, len(word)) + return (word, row, start_col, len(word)) # setting a down word def set_word_down (self, row, col, word): -- 2.20.1