diff --git a/stubs/pyxdg/xdg/BaseDirectory.pyi b/stubs/pyxdg/xdg/BaseDirectory.pyi index 6c39679d8a20..900591447994 100644 --- a/stubs/pyxdg/xdg/BaseDirectory.pyi +++ b/stubs/pyxdg/xdg/BaseDirectory.pyi @@ -13,6 +13,6 @@ def save_data_path(*resource: StrPath) -> str: ... def save_cache_path(*resource: StrPath) -> str: ... def save_state_path(*resource: StrPath) -> str: ... def load_config_paths(*resource: StrPath) -> Iterator[str]: ... -def load_first_config(*resource: StrPath) -> str: ... +def load_first_config(*resource: StrPath) -> str | None: ... def load_data_paths(*resource: StrPath) -> Iterator[str]: ... def get_runtime_dir(strict: bool = True) -> str: ...