We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1124b4 commit 6ea017bCopy full SHA for 6ea017b
CHANGELOG.md
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
8
## [Unreleased]
9
10
+### Changed
11
+- Simplify type annotations by replacing Union and Optional with pipe character ("|") for improved readability and clarity
12
+
13
## [3.3.2] - 2024-03-25
14
15
### Added
src/zimscraperlib/misc.py
@@ -1,7 +1,7 @@
1
-from __future__ import annotations
2
-
3
""" Miscelaneous utils"""
4
+from __future__ import annotations
5
6
def first(*args: object | None) -> object:
"""first non-None value from *args ; fallback to empty string"""
0 commit comments