# HG changeset patch
# User Shlomi Fish
# Date 1289292018 -7200
# Node ID 39de65f2e35a2a8eeb23f1f1310527e9f8eb5267
# Parent c3fa4cb82e0e7cc5e79fadd85c8f7147da09b2bd
Revised a docstring.
Thanks to cool-RR on Python-IL.
diff --git a/kakurasu-solver/kakurasu_solver.py b/kakurasu-solver/kakurasu_solver.py
--- a/kakurasu-solver/kakurasu_solver.py
+++ b/kakurasu-solver/kakurasu_solver.py
@@ -196,11 +196,13 @@
def solve(self):
'''
- This method attempts to solve the game after self.width , self.height ,
+ Attempts to solve the game.
+
+ This should be called after self.width , self.height ,
self.num_known_horiz_constraints , self.num_known_vert_constraints ,
self.horiz_constraints and self.vert_constraints were filled in.
- It returns a two-dimensional array containing the rows of the boolean
+ Returns a two-dimensional array containing the rows of the boolean
values with the solution.
'''