Skip to content

Commit a822f7f

Browse files
committed
Fixed trailing comma on factory pattern
1 parent 997f283 commit a822f7f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

patterns/creational/factory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def localize(self, msg: str) -> str:
4444
return msg
4545

4646

47-
def get_localizer(language: str = "English",) -> object:
47+
def get_localizer(language: str = "English") -> object:
4848

4949
"""Factory"""
5050
localizers = {

0 commit comments

Comments
 (0)