Skip to content

Commit cae2ffd

Browse files
committed
Fixing doc tests.
1 parent f640228 commit cae2ffd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/tutorials/further_topics/classification_of_strategies.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This allows us to, for example, quickly identify all the stochastic
2424
strategies::
2525

2626
>>> len([s for s in axl.strategies if s().classifier['stochastic']])
27-
36
27+
37
2828

2929
Or indeed find out how many strategy only use 1 turn worth of memory to
3030
make a decision::
@@ -37,13 +37,13 @@ tournament. For example, here is the number of strategies that make use of the
3737
length of each match of the tournament::
3838

3939
>>> len([s() for s in axl.strategies if 'length' in s().classifier['makes_use_of']])
40-
8
40+
9
4141

4242
Here are how many of the strategies that make use of the particular game being
4343
played (whether or not it's the default Prisoner's dilemma)::
4444

4545
>>> len([s() for s in axl.strategies if 'game' in s().classifier['makes_use_of']])
46-
20
46+
21
4747

4848
Similarly, strategies that :code:`manipulate_source`, :code:`manipulate_state`
4949
and/or :code:`inspect_source` return :code:`False` for the :code:`obey_axelrod`

0 commit comments

Comments
 (0)