Skip to content

Commit f2bf58f

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
1 parent 2695791 commit f2bf58f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

stdlib/_frozen_importlib_external.pyi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import sys
66
import types
77
from _typeshed import ReadableBuffer, StrOrBytesPath, StrPath
88
from _typeshed.importlib import LoaderProtocol
9-
from collections.abc import Callable, Iterable, Mapping, MutableSequence, Sequence, Iterator
9+
from collections.abc import Callable, Iterable, Iterator, Mapping, MutableSequence, Sequence
1010
from importlib.machinery import ModuleSpec
1111
from importlib.metadata import DistributionFinder, PathDistribution
1212
from typing import Any, Final, Literal, overload
@@ -118,6 +118,7 @@ class SourceLoader(_LoaderBasics):
118118
def source_to_code(
119119
self, data: ReadableBuffer | str | _ast.Module | _ast.Expression | _ast.Interactive, path: bytes | StrPath
120120
) -> types.CodeType: ...
121+
121122
def get_code(self, fullname: str) -> types.CodeType | None: ...
122123

123124
class FileLoader:
@@ -191,6 +192,7 @@ if sys.version_info >= (3, 11):
191192
if sys.version_info < (3, 15):
192193
@deprecated("Deprecated since Python 3.10; removed in Python 3.15. Use `exec_module()` instead.")
193194
def load_module(self, fullname: str) -> types.ModuleType: ...
195+
194196
def get_resource_reader(self, module: types.ModuleType) -> importlib.readers.NamespaceReader: ...
195197
if sys.version_info < (3, 12):
196198
@staticmethod
@@ -223,5 +225,3 @@ else:
223225

224226
if sys.version_info >= (3, 13):
225227
class AppleFrameworkLoader(ExtensionFileLoader, importlib.abc.ExecutionLoader): ...
226-
227-

0 commit comments

Comments
 (0)