Skip to content

Commit c16f196

Browse files
committed
Tried to make mypy happy.
1 parent 87344ee commit c16f196

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

axelrod/strategies/axelrod_second.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
import random
66
import numpy as np
7+
from typing import List
78

89
from axelrod.action import Action
910
from axelrod.player import Player
@@ -1758,7 +1759,7 @@ def __init__(self) -> None:
17581759
(D, C, D): 0,
17591760
(D, D, C): 0,
17601761
(D, D, D): 0}
1761-
self.mod_history = list()
1762+
self.mod_history = list() # type: List[Action]
17621763

17631764
def try_return(self, to_return, opp_def):
17641765
"""

0 commit comments

Comments
 (0)