Skip to content

Commit 937470b

Browse files
committed
Correct references in docstrings for new strategies
1 parent 6543db8 commit 937470b

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

axelrod/strategies/finite_state_machines.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,11 @@ def __init__(self):
178178

179179

180180
class Pun1(FSMPlayer):
181-
"""FSM player described in [Ashlock2006]."""
181+
"""FSM player described in [Ashlock2006].
182+
183+
Names:
184+
- Pun1 [Aslhlock2006]_
185+
"""
182186

183187
name = 'Pun1'
184188
classifier = {

axelrod/strategies/memorytwo.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ class MEM2(Player):
1313
ALLD has ever been selected twice, which can only be known if the entire
1414
history of play is accessible.
1515
16-
Names
17-
-----
18-
MEM2 [Li2014]
16+
Names:
17+
18+
- MEM2 [Li2014]_
1919
"""
2020

2121
name = 'MEM2'

axelrod/strategies/prober.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ class CollectiveStrategy(Player):
1212
Otherwise, CS will always defect.'
1313
1414
Names:
15-
Collective Strategy [Li2009]
15+
16+
- Collective Strategy [Li2009]_
1617
1718
"""
1819

0 commit comments

Comments
 (0)