diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 01:19:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 01:19:09 +0000 |
commit | 0f0b6cb0d26a33e98ef5858dfbe208e4a6267896 (patch) | |
tree | 0bab41c48c151d09abbae63ecff2fdee6a0ff421 /aptsources/_deb822.py | |
parent | Releasing progress-linux version 2.8.0-0.0~progress7.99u1. (diff) | |
download | python-apt-0f0b6cb0d26a33e98ef5858dfbe208e4a6267896.tar.xz python-apt-0f0b6cb0d26a33e98ef5858dfbe208e4a6267896.zip |
Merging upstream version 2.9.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'aptsources/_deb822.py')
-rw-r--r-- | aptsources/_deb822.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/aptsources/_deb822.py b/aptsources/_deb822.py index d3b3a7c..28593e2 100644 --- a/aptsources/_deb822.py +++ b/aptsources/_deb822.py @@ -70,12 +70,10 @@ class Section: return bool(self.tags) @typing.overload - def get(self, key: str) -> str | None: - ... + def get(self, key: str) -> str | None: ... @typing.overload - def get(self, key: str, default: T) -> T | str: - ... + def get(self, key: str, default: T) -> T | str: ... def get(self, key: str, default: T | None = None) -> T | None | str: try: |