@@ -665,13 +665,14 @@ def play(self, board, limit, *, game=None, info=INFO_NONE, ponder=False, root_mo
665665
666666 :param board: The position. The entire move stack will be sent to the
667667 engine.
668- :param limit: An instance of :class:`~ chess.engine.Limit` that
668+ :param limit: An instance of :class:`chess.engine.Limit` that
669669 determines when to stop thinking.
670670 :param game: Optional. An arbitrary object that identifies the game.
671- Will automatically clear hashtables if the object is not equal
672- to the previous game.
671+ Will automatically inform the engine if the object is not equal
672+ to the previous game (e.g. ``ucinewgame``, ``new``) .
673673 :param info: Selects which additional information to retrieve from the
674- engine. ``INFO_NONE``, ``INFO_BASE``, ``INFO_SCORE``, ``INFO_PV``,
674+ engine. ``INFO_NONE``, ``INFO_BASE`` (basic information that is
675+ trivial to obtain), ``INFO_SCORE``, ``INFO_PV``,
675676 ``INFO_REFUTATION``, ``INFO_CURRLINE``, ``INFO_ALL`` or any
676677 bitwise combination. Some overhead is associated with parsing
677678 extra information.
@@ -687,20 +688,22 @@ def play(self, board, limit, *, game=None, info=INFO_NONE, ponder=False, root_mo
687688 @asyncio .coroutine
688689 def analyse (self , board , limit , * , multipv = None , game = None , info = INFO_ALL , root_moves = None , options = {}):
689690 """
690- Analyses a position and returns an info dictionary.
691+ Analyses a position and returns a dictionary of
692+ `information <#chess.engine.PlayResult.info>`_.
691693
692694 :param board: The position to analyse. The entire move stack will be
693695 sent to the engine.
694- :param limit: An instance of :class:`~ chess.engine.Limit` that
696+ :param limit: An instance of :class:`chess.engine.Limit` that
695697 determines when to stop the analysis.
696698 :param multipv: Optional. Analyse multiple root moves. Will return a list of
697699 at most *multipv* dictionaries rather than just a single
698700 info dictionary.
699701 :param game: Optional. An arbitrary object that identifies the game.
700- Will automatically clear hashtables if the object is not equal
701- to the previous game.
702+ Will automatically inform the engine if the object is not equal
703+ to the previous game (e.g. ``ucinewgame``, ``new``) .
702704 :param info: Selects which information to retrieve from the
703- engine. ``INFO_NONE``, ``INFO_BASE``, ``INFO_SCORE``, ``INFO_PV``,
705+ engine. ``INFO_NONE``, ``INFO_BASE`` (basic information that is
706+ trivial to obtain), ``INFO_SCORE``, ``INFO_PV``,
704707 ``INFO_REFUTATION``, ``INFO_CURRLINE``, ``INFO_ALL`` or any
705708 bitwise combination. Some overhead is associated with parsing
706709 extra information.
@@ -725,15 +728,16 @@ def analysis(self, board, limit=None, *, multipv=None, game=None, info=INFO_ALL,
725728
726729 :param board: The position to analyse. The entire move stack will be
727730 sent to the engine.
728- :param limit: Optional. An instance of :class:`~ chess.engine.Limit`
731+ :param limit: Optional. An instance of :class:`chess.engine.Limit`
729732 that determines when to stop the analysis. Analysis is infinite
730733 by default.
731734 :param multipv: Optional. Analyse multiple root moves.
732735 :param game: Optional. An arbitrary object that identifies the game.
733736 Will automatically clear hashtables if the object is not equal
734737 to the previous game.
735738 :param info: Selects which information to retrieve from the
736- engine. ``INFO_NONE``, ``INFO_BASE``, ``INFO_SCORE``, ``INFO_PV``,
739+ engine. ``INFO_NONE``, ``INFO_BASE`` (basic information that is
740+ trivial to obtain), ``INFO_SCORE``, ``INFO_PV``,
737741 ``INFO_REFUTATION``, ``INFO_CURRLINE``, ``INFO_ALL`` or any
738742 bitwise combination. Some overhead is associated with parsing
739743 extra information.
0 commit comments