Commits

Shlomi Fish committed 39de65f

Revised a docstring.

Thanks to cool-RR on Python-IL.

  • Participants
  • Parent commits c3fa4cb

Comments (0)

Files changed (1)

File kakurasu-solver/kakurasu_solver.py

 
     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.
         '''