Skip to content

Commit a50750f

Browse files
committed
Style and naming
1 parent 21ad4d7 commit a50750f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

axelrod/strategies/selfsteem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class SelfSteem(Player):
1414
with the current iteration.
1515
1616
If f > 0.95, 'ego' of the algorithm is inflated; always defects.
17-
If 0.95 > |f| > 0.3, rational behavior; follows TitForTat algortithm.
17+
If 0.95 > abs(f) > 0.3, rational behavior; follows TitForTat algortithm.
1818
If 0.3 > f > -0.3; random behavior.
1919
If f < -0.95, algorithm is at rock bottom; always cooperates.
2020
File renamed without changes.

docs/reference/all_strategies.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ Here are the docstrings of all the strategies in the library.
136136
:members:
137137
:undoc-members:
138138
.. automodule:: axelrod.strategies.selfsteem
139-
:members:
140-
:undoc-members:
139+
:members:
140+
:undoc-members:
141141
.. automodule:: axelrod.strategies.titfortat
142142
:members:
143143
:undoc-members:

0 commit comments

Comments
 (0)