From 59d072c57415f86b4e70a5e49789ebddf1a90823 Mon Sep 17 00:00:00 2001 From: Dominik George <nik@naturalnet.de> Date: Tue, 14 Jan 2020 23:11:01 +0100 Subject: [PATCH] Fix typo --- calendarweek/calendarweek.py | 8 ++++---- pyproject.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/calendarweek/calendarweek.py b/calendarweek/calendarweek.py index 9fe3ffe..1a0ceed 100644 --- a/calendarweek/calendarweek.py +++ b/calendarweek/calendarweek.py @@ -20,28 +20,28 @@ class CalendarWeek: def day_names(cls, loc: Optional[str] = None) -> Tuple[str]: """ Return a tuple of day names for the selected locale. """ - with calendar.different_locale(normalise_locale(loc): + with calendar.different_locale(normalise_locale(loc)): return tuple(calendar.day_name) @classmethod def day_abbrs(cls, loc: Optional[str] = None) -> Tuple[str]: """ Return a tuple of day name abbreviations for the selected locale. """ - with calendar.different_locale(normalise_locale(loc): + with calendar.different_locale(normalise_locale(loc)): return tuple(calendar.day_abbr) @classmethod def month_names(cls, loc: Optional[str] = None) -> Tuple[str]: """ Return a tuple of month names for the selected locale. """ - with calendar.different_locale(normalise_locale(loc): + with calendar.different_locale(normalise_locale(loc)): return tuple(calendar.month_name[1:]) @classmethod def month_abbrs(cls, loc: Optional[str] = None) -> Tuple[str]: """ Return a tuple of month name abbreviations for the selected locale. """ - with calendar.different_locale(normalise_locale(loc): + with calendar.different_locale(normalise_locale(loc)): return tuple(calendar.month_abbr[1:]) @classmethod diff --git a/pyproject.toml b/pyproject.toml index 4e38f20..ba19ab1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "calendarweek" -version = "0.4.2" +version = "0.4.3" description = "Utilities for working with calendar weeks in Python and Django" authors = ["Dominik George <nik@naturalnet.de>", "Jonathan Weth <git@jonathanweth.de>"] license = "MIT" -- GitLab