Skip to content

Commit 7ad7bfa

Browse files
committed
update readme doctest
1 parent 2dbb0c0 commit 7ad7bfa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,9 @@ Features
276276
>>> engine = chess.engine.SimpleEngine.popen_uci("stockfish")
277277
278278
>>> board = chess.Board("1k1r4/pp1b1R2/3q2pp/4p3/2B5/4Q3/PPP2B2/2K5 b - - 0 1")
279-
>>> limit = chess.engine.Limit(movetime=2000)
279+
>>> limit = chess.engine.Limit(time=2.0)
280280
>>> engine.play(board, limit) # doctest: +ELLIPSIS
281-
<PlayResult at ... (move=d6d1, ponder=c1d1, info={...})>
281+
<PlayResult at ... (move=d6d1, ponder=c1d1, info={...}, draw_offered=False)>
282282
283283
>>> engine.quit()
284284

0 commit comments

Comments
 (0)