Skip to content

Commit

Permalink
doesn't belong
Browse files Browse the repository at this point in the history
  • Loading branch information
rchl committed Oct 4, 2024
1 parent 052ee4f commit 013aaf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/core/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from .windows import WindowManager
from .windows import WindowRegistry
from functools import partial
from typing import Any, Generator
from typing import Any, Generator, Iterable
import operator
import sublime
import sublime_plugin
Expand All @@ -21,7 +21,7 @@
windows = WindowRegistry()


def best_session(view: sublime.View, sessions: list[Session], point: int | None = None) -> Session | None:
def best_session(view: sublime.View, sessions: Iterable[Session], point: int | None = None) -> Session | None:
if point is None:
try:
point = view.sel()[0].b
Expand Down

0 comments on commit 013aaf0

Please sign in to comment.