Skip to content

Commit 6ea017b

Browse files
elfkuzcobenoit74
authored andcommitted
update changelog and move docstring before imports
1 parent b1124b4 commit 6ea017b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Diff for: CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Changed
11+
- Simplify type annotations by replacing Union and Optional with pipe character ("|") for improved readability and clarity
12+
1013
## [3.3.2] - 2024-03-25
1114

1215
### Added

Diff for: src/zimscraperlib/misc.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
from __future__ import annotations
2-
31
""" Miscelaneous utils"""
42

3+
from __future__ import annotations
4+
55

66
def first(*args: object | None) -> object:
77
"""first non-None value from *args ; fallback to empty string"""

0 commit comments

Comments
 (0)