Skip to content

Commit 64c9da7

Browse files
authored
[pyxdg] Allow None return from load_first_config (#16705)
1 parent a269297 commit 64c9da7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎stubs/pyxdg/xdg/BaseDirectory.pyi‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ def save_data_path(*resource: StrPath) -> str: ...
1313
def save_cache_path(*resource: StrPath) -> str: ...
1414
def save_state_path(*resource: StrPath) -> str: ...
1515
def load_config_paths(*resource: StrPath) -> Iterator[str]: ...
16-
def load_first_config(*resource: StrPath) -> str: ...
16+
def load_first_config(*resource: StrPath) -> str | None: ...
1717
def load_data_paths(*resource: StrPath) -> Iterator[str]: ...
1818
def get_runtime_dir(strict: bool = True) -> str: ...

0 commit comments

Comments
 (0)