Skip to content

Commit 14a4ae6

Browse files
committed
Added back newlines
1 parent d811278 commit 14a4ae6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

axelrod/strategies/__init__.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,18 @@ def filtered_strategies(filterset, strategies=all_strategies):
100100
Applies the filters defined in the given filterset dict and returns those
101101
strategy classes which pass all of those filters from the given list of
102102
strategies.
103+
103104
e.g.
105+
104106
For the filterset dict:
105107
{
106108
'stochastic': True,
107109
'min_memory_depth': 2
108110
}
111+
109112
the function will return a list of all deterministic strategies with a
110113
memory_depth of 2 or more.
114+
111115
Parameters
112116
----------
113117
filterset : dict
@@ -119,9 +123,12 @@ def filtered_strategies(filterset, strategies=all_strategies):
119123
}
120124
strategies: list
121125
of subclasses of axelrod.Player
126+
122127
Returns
123128
-------
124129
list
130+
125131
of subclasses of axelrod.Player
132+
126133
"""
127134
return [s for s in strategies if passes_filterset(s, filterset)]

0 commit comments

Comments
 (0)