projects
/
getaclue.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2031a5
)
Fixed order of tuple in return statement
author
Harishankar
<v.harishankar@gmail.com>
Sun, 5 Dec 2010 12:16:36 +0000
(17:46 +0530)
committer
Harishankar
<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
patch
|
blob
|
history
diff --git
a/crosswordpuzzle.py
b/crosswordpuzzle.py
index
8091d3d
..
4e291db
100644
(file)
--- 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):