Skip to content

Commit 803abd2

Browse files
committed
Updated documentation of replay.py to reflect replay.winner fucntionality
1 parent aaf3d6d commit 803abd2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/source/mainstructures.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Replay
3535
.. autoattribute:: humans
3636
.. autoattribute:: messages
3737
.. autoattribute:: recorder
38-
.. autoattribute:: winner_known
38+
.. autoattribute:: winner
3939

4040

4141
.. currentmodule:: sc2reader.objects

sc2reader/replay.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class Replay(object):
7777
#: person id's and names
7878
person = utils.PersonDict()
7979

80-
#: A list of :class:`Person` objects from the game represnting
80+
#: A list of :class:`Person` objects from the game representing
8181
#: only the human players from the :attr:`people` list
8282
humans = list()
8383

@@ -87,7 +87,7 @@ class Replay(object):
8787
#: A reference to the :class:`Person` that recorded the game
8888
recorder = None
8989

90-
#: If the winner_known flag is set this will contain the winning team
90+
#: If there is a valid winning team this will contain a :class:`Team` otherwise it will be :class:`None`
9191
winner = None
9292

9393
def __init__(self, replay_file, **options):

0 commit comments

Comments
 (0)