Day 12, Python: yes, this is *totally* how type hinting works
This commit is contained in:
parent
7b435c3e05
commit
a83343a22f
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ from typing import List, Tuple
|
|||
|
||||
class Instruction:
|
||||
action: str
|
||||
magnitude: str
|
||||
magnitude: int
|
||||
raw: str
|
||||
|
||||
def __init__(self, instruction: str) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue