summaryrefslogtreecommitdiffstats
path: root/aptsources/_deb822.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:19:08 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:19:08 +0000
commite026c56d987d2bfb2bed3063b51178c69b271839 (patch)
tree4c2452811c7f6e20fe507073e413ed5b4c4ca93c /aptsources/_deb822.py
parentAdding upstream version 2.8.0. (diff)
downloadpython-apt-e026c56d987d2bfb2bed3063b51178c69b271839.tar.xz
python-apt-e026c56d987d2bfb2bed3063b51178c69b271839.zip
Adding upstream version 2.9.0.upstream/2.9.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'aptsources/_deb822.py')
-rw-r--r--aptsources/_deb822.py6
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: