Skip to content

Commit f3d1712

Browse files
committed
Adding docstring.
1 parent 1d575e2 commit f3d1712

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

axelrod/strategy_transformers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,8 @@ def apology_wrapper(player, opponent, action, myseq, opseq):
242242

243243

244244
def mutate_wrapper(player, opponent, action, probability, m_player):
245-
""""""
245+
"""Randomly picks a strategy to play, either from a distribution on a list
246+
of players or a single player."""
246247

247248
# If a single probability, player is passed
248249
if type(probability) in [float, int]:

0 commit comments

Comments
 (0)