Skip to content

Commit 3eeec92

Browse files
committed
Some typos
1 parent 0c01b14 commit 3eeec92

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

axelrod/strategies/cooperator.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ def strategy(self, opponent):
1212

1313
def __repr__(self):
1414
"""
15-
i The string method for the strategy:
16-
17-
>>> P1 = Cooperator()
18-
>>> print P1
19-
Cooperator
15+
The string method for the strategy:
2016
"""
2117
return 'Cooperator'

axelrod/strategies/defector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ def strategy(self, opponent):
1212

1313
def __repr__(self):
1414
"""
15-
i The string method for the strategy:
15+
The string method for the strategy:
1616
"""
1717
return 'Defector'

axelrod/strategies/gobymajority.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ def strategy(self, opponent):
1616

1717
def __repr__(self):
1818
"""
19-
i The string method for the strategy.
19+
The string method for the strategy.
2020
"""
2121
return 'Go By Majority'

0 commit comments

Comments
 (0)