Skip to content

Commit 796a4ae

Browse files
committed
Numpy formatting of docstring.
1 parent d213c82 commit 796a4ae

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

axelrod/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
from .tournament import Tournament, ProbEndTournament
1414
from .tournament_manager import TournamentManager
1515
from .tournament_manager_factory import TournamentManagerFactory
16-
from .result_set import ResultSet#, ProbEndResultSet
16+
from .result_set import ResultSet
1717
from .ecosystem import Ecosystem
1818
from .utils import run_tournaments, setup_logging

axelrod/result_set.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,15 @@ class ResultSet(object):
1616

1717
def __init__(self, players, matches, with_morality=True):
1818
"""
19-
Args:
20-
players (list): a list of player objects.
21-
matches (list): a list of list of completed matches
22-
(1 for each repetition)
23-
with_morality (bool): a flag to determine whether morality metrics
24-
should be calculated.
19+
Parameters
20+
----------
21+
players : list
22+
a list of player objects.
23+
matches : list
24+
a list of list of completed matches (1 for each repetition)
25+
with_morality : bool
26+
a flag to determine whether morality metrics should be
27+
calculated.
2528
"""
2629
self.players = players
2730
self.nplayers = len(players)

0 commit comments

Comments
 (0)