Skip to content

Commit

Permalink
fix dict merge operator for python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
fcurella committed Sep 30, 2024
1 parent ea75a20 commit c26d4e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion faker/providers/address/en_IN/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])

Expand Down

0 comments on commit c26d4e8

Please sign in to comment.