Skip to content

Commit 38dd002

Browse files
committed
[portage] add __getaddr__ to root to mark incomplete
1 parent b40d18b commit 38dd002

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

stubs/portage/portage/__init__.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@ class _DBRootDict(TypedDict):
1313
db: Mapping[str, _DBRootDict]
1414
root: str
1515
settings: config
16+
17+
def __getattr__(name: str): ... # incomplete module

stubs/portage/portage/dbapi/__init__.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,5 @@ class dbapi:
3030
myrepo: str | None = ...,
3131
) -> list[str]: ...
3232
def match(self, mydep: str, use_cache: Literal[0, 1] = ...) -> list[str] | str: ...
33+
34+
def __getattr__(name: str): ... # incomplete module

0 commit comments

Comments
 (0)