Skip to content

Commit 3b4a88c

Browse files
authored
Fix typos found by codespell
1 parent a829efb commit 3b4a88c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

sc2reader/objects.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Team(object):
1818
objects with some metadata. As such, it implements iterable and can be
1919
looped over like a list.
2020
21-
:param interger number: The team number as recorded in the replay
21+
:param integer number: The team number as recorded in the replay
2222
"""
2323

2424
#: A unique hash identifying the team of players
@@ -140,7 +140,7 @@ def __init__(self, sid, slot_data):
140140
#: The Battle.net subregion the entity is registered to
141141
self.subregion = int(parts[2])
142142

143-
#: The Battle.net acount identifier. Used to construct the
143+
#: The Battle.net account identifier. Used to construct the
144144
#: bnet profile url. This value can be zero for games
145145
#: played offline when a user was not logged in to battle.net.
146146
self.toon_id = int(parts[3])
@@ -240,7 +240,7 @@ def __init__(self, pid, slot_data, detail_data, attribute_data):
240240
#: The Battle.net subregion the entity is registered to
241241
self.subregion = detail_data["bnet"]["subregion"]
242242

243-
#: The Battle.net acount identifier. Used to construct the
243+
#: The Battle.net account identifier. Used to construct the
244244
#: bnet profile url. This value can be zero for games
245245
#: played offline when a user was not logged in to battle.net.
246246
self.toon_id = detail_data["bnet"]["uid"]
@@ -604,8 +604,8 @@ def __init__(self, contents):
604604
#: The map base height (what is that?). This value is 4096*Base Height in the editor (giving a decimal value).
605605
self.base_height = data.read_uint32() / 4096
606606

607-
# Leave early so we dont barf. Turns out ggtracker doesnt need
608-
# any of the map data thats loaded below.
607+
# Leave early so we don't barf. Turns out ggtracker doesn't need
608+
# any of the map data that is loaded below.
609609
return
610610

611611
#: Load screen type: 0 = default, 1 = custom

0 commit comments

Comments
 (0)