From c26d4e80f3e2ef42c5563f6e27f62b88cec39470 Mon Sep 17 00:00:00 2001 From: Flavio Curella Date: Mon, 30 Sep 2024 10:42:24 -0500 Subject: [PATCH] fix dict merge operator for python 3.8 --- faker/providers/address/en_IN/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/faker/providers/address/en_IN/__init__.py b/faker/providers/address/en_IN/__init__.py index 2c51a54d4c..4004bcb4a7 100644 --- a/faker/providers/address/en_IN/__init__.py +++ b/faker/providers/address/en_IN/__init__.py @@ -535,7 +535,7 @@ def pincode_in_state(self, state_abbr: Optional[str] = None, include_union_terri if state_abbr in known_abbrs: codes = self.state_pincode if include_union_territories: - codes = codes | self.union_territories_pincode + codes.update(self.union_territories_pincode) pincode_range = self.random_element(codes[state_abbr])