Fixed order of tuple in return statement
authorHarishankar <v.harishankar@gmail.com>
Sun, 5 Dec 2010 12:16:36 +0000 (17:46 +0530)
committerHarishankar <v.harishankar@gmail.com>
Sun, 5 Dec 2010 12:16:36 +0000 (17:46 +0530)
Fixed order of tuple in returning row, col in get_word_across ()
function

crosswordpuzzle.py

index 8091d3d..4e291db 100644 (file)
@@ -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):