Re-export dateutil._common.weekday from dateutil.relativedelta (#9819)

This commit is contained in:
Alex Waygood
2023-02-27 12:03:18 +00:00
committed by GitHub
parent 9c4bfd5d11
commit 9b63a49f64
2 changed files with 11 additions and 1 deletions

View File

@@ -2,7 +2,8 @@ from datetime import date, datetime, timedelta
from typing import SupportsFloat, TypeVar, overload
from typing_extensions import Self, TypeAlias
from ._common import weekday
# See #9817 for why we reexport this here
from ._common import weekday as weekday
_DateT = TypeVar("_DateT", date, datetime)
# Work around attribute and type having the same name.