From 87cc6d50657fd2c81f96b6806479487a3fbb7512 Mon Sep 17 00:00:00 2001 From: Vince Knight Date: Sun, 4 Dec 2016 13:54:48 +0000 Subject: [PATCH] Fix doctests. --- docs/tutorials/advanced/using_the_cache.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tutorials/advanced/using_the_cache.rst b/docs/tutorials/advanced/using_the_cache.rst index a3308f115..3ea95741c 100644 --- a/docs/tutorials/advanced/using_the_cache.rst +++ b/docs/tutorials/advanced/using_the_cache.rst @@ -40,11 +40,11 @@ Let us rerun the above match but using the cache:: We can take a look at the cache:: >>> cache # doctest: +ELLIPSIS - {(, , 200): [('C', 'C'), ..., ('C', 'D')]} + {('Soft Go By Majority', 'Alternator', 200): [('C', 'C'), ..., ('C', 'D')]} >>> len(cache) 1 -This maps a triplet of 2 player classes and the match length to the resulting +This maps a triplet of 2 player names and the match length to the resulting interactions. We can rerun the code and compare the timing:: >>> def run_match_with_cache():