[gi-docgen: 1/3] Fix type annotations for Repository packages and c_includes
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gi-docgen: 1/3] Fix type annotations for Repository packages and c_includes
- Date: Fri, 29 Jul 2022 13:06:53 +0000 (UTC)
commit f707e81de626df49f005ec4637dedce5eee7abd4
Author: fcole90 <fcole90 gmail com>
Date: Sat Jul 23 22:01:22 2022 +0200
Fix type annotations for Repository packages and c_includes
gidocgen/gir/ast.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gidocgen/gir/ast.py b/gidocgen/gir/ast.py
index fbac892..e2042a3 100644
--- a/gidocgen/gir/ast.py
+++ b/gidocgen/gir/ast.py
@@ -933,8 +933,8 @@ class Namespace:
class Repository:
def __init__(self):
self.includes: T.Mapping[str, Repository] = {}
- self.packages: T.List[Package] = []
- self.c_includes: T.List[CInclude] = []
+ self.packages: T.List[str] = []
+ self.c_includes: T.List[str] = []
self.types: T.Mapping[str, T.List[Type]] = {}
self._namespaces: T.List[Namespace] = []
self.girfile: T.Optional[str] = None
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]