We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5170c0 commit 1496f7dCopy full SHA for 1496f7d
qbpm/utils.py
@@ -1,5 +1,5 @@
1
import platform
2
-from collections.abc import Generator
+from collections.abc import Iterator
3
from os import environ
4
from pathlib import Path
5
from shutil import which
@@ -40,7 +40,7 @@ def user_config_dir() -> Path:
40
return Path(BaseDirectory.xdg_config_home) / "qutebrowser"
41
42
43
-def installed_menus() -> Generator[str, None, None]:
+def installed_menus() -> Iterator[str]:
44
if platform.system() == "Darwin":
45
yield "applescript"
46
if environ.get("WAYLAND_DISPLAY"):
0 commit comments