Skip to content

Commit

Permalink
Fix type hint of providers.barcode.ean8 (#1929)
Browse files Browse the repository at this point in the history
  • Loading branch information
Viicos authored Oct 17, 2023
1 parent f599b44 commit d712550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion faker/providers/barcode/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def ean(self, length: int = 13, prefixes: PrefixType = ()) -> str:
"""
return self._ean(length, prefixes=prefixes)

def ean8(self, prefixes: Tuple[()] = ()) -> str:
def ean8(self, prefixes: PrefixType = ()) -> str:
"""Generate an EAN-8 barcode.
This method uses |ean| under the hood with the ``length`` argument
Expand Down

0 comments on commit d712550

Please sign in to comment.