Skip to content

Commit

Permalink
fix typing on Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
fcurella committed Aug 21, 2024
1 parent 3884008 commit 4edeab3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions faker/providers/address/en_MS/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from collections import OrderedDict
from typing import Optional
from typing import Dict, List, Optional

from ... import ElementsType
from ..en import Provider as AddressProvider
Expand Down Expand Up @@ -154,7 +154,7 @@ class Provider(AddressProvider):
)

# https://en.wikipedia.org/wiki/States_and_federal_territories_of_Malaysia
states: dict[str, list[str]] = {
states: Dict[str, List[str]] = {
"JHR": ["Johor Darul Ta'zim", "Johor"],
"KDH": ["Kedah Darul Aman", "Kedah"],
"KTN": ["Kelantan Darul Naim", "Kelantan"],
Expand Down

0 comments on commit 4edeab3

Please sign in to comment.