Skip to content

Commit

Permalink
use typing.List in typedef
Browse files Browse the repository at this point in the history
  • Loading branch information
admorris committed Jun 28, 2023
1 parent ac5aedd commit 5d78060
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/decaylanguage/decay/decay.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from collections import Counter
from copy import deepcopy
from itertools import product
from typing import TYPE_CHECKING, Any, Dict, Iterable, Iterator, TypeVar, Union
from typing import TYPE_CHECKING, Any, Dict, Iterable, Iterator, List, TypeVar, Union

from particle import PDGID, ParticleNotFound
from particle.converters import EvtGenName2PDGIDBiMap
Expand Down Expand Up @@ -447,7 +447,7 @@ def __str__(self) -> str:


Self_DecayChain = TypeVar("Self_DecayChain", bound="DecayChain")
DecayModeDict = Dict[str, Union[float, str, list[Any]]]
DecayModeDict = Dict[str, Union[float, str, List[Any]]]
DecayChainDict = Dict[str, list[DecayModeDict]]


Expand Down

0 comments on commit 5d78060

Please sign in to comment.