Skip to content

Commit bf1a945

Browse files
committed
0.6.0
1 parent ef5c486 commit bf1a945

File tree

8 files changed

+1202
-831
lines changed

8 files changed

+1202
-831
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "stdl"
3-
version = "0.5.6"
3+
version = "0.6.0"
44
description = "Extended Python Standard Library"
55
authors = [{ name = "Žiga Ivanšek", email = "[email protected]" }]
66
license = { file = "LICENSE.txt" }

stdl/decorators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def wrapper(*args, **kwargs):
6767

6868
def retry(attempts: int, delay: float = 0):
6969
if attempts < 1:
70-
raise ValueError("attempts must be greater than 0")
70+
raise ValueError("Attempts must be greater than 0")
7171

7272
def decorator(func):
7373
@wraps(func)

stdl/dt.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ def datetime_fmt(
9898
ms: bool = False,
9999
utc: bool = True,
100100
) -> str:
101-
"""Format date and time
101+
"""
102+
Format date and time
102103
103104
Args:
104105
d (str | float | None | datetime, optional): Input datetime. Defaults to current date and time.

0 commit comments

Comments
 (0)