Skip to content

Commit 87cc6d5

Browse files
committed
Fix doctests.
1 parent 7f6747d commit 87cc6d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/tutorials/advanced/using_the_cache.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ Let us rerun the above match but using the cache::
4040
We can take a look at the cache::
4141

4242
>>> cache # doctest: +ELLIPSIS
43-
{(<class 'axelrod.strategies.gobymajority.GoByMajority'>, <class 'axelrod.strategies.alternator.Alternator'>, 200): [('C', 'C'), ..., ('C', 'D')]}
43+
{('Soft Go By Majority', 'Alternator', 200): [('C', 'C'), ..., ('C', 'D')]}
4444
>>> len(cache)
4545
1
4646

47-
This maps a triplet of 2 player classes and the match length to the resulting
47+
This maps a triplet of 2 player names and the match length to the resulting
4848
interactions. We can rerun the code and compare the timing::
4949

5050
>>> def run_match_with_cache():

0 commit comments

Comments
 (0)