Skip to content

Commit 3e053dc

Browse files
committed
[#696] Add example to docstring
1 parent bf948dc commit 3e053dc

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

axelrod/strategies/__init__.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,17 @@ def filtered_strategies(filterset, strategies=all_strategies):
3838
strategy classes which pass all of those filters from the given list of
3939
strategies.
4040
41+
e.g.
42+
43+
For the filterset dict:
44+
{
45+
'stochastic': True,
46+
'min_memory_depth': 2
47+
}
48+
49+
the function will return a list of all deterministic strategies with a
50+
memory_depth of 2 or more.
51+
4152
Parameters
4253
----------
4354
filterset : dict

0 commit comments

Comments
 (0)