Skip to content

Commit 948340c

Browse files
committed
Fix import names
1 parent 96e8a32 commit 948340c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

stubs/regex/regex/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from regex._main import *
1+
from ._main import *
22

33
# Sync with regex._main.__all__
44
__all__ = [

stubs/regex/regex/_regex.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from typing import Any, AnyStr, Generic, final
77
from typing_extensions import Self
88

9-
from regex import Match, Pattern
9+
from ._main import Match, Pattern
1010

1111
@final
1212
class Splitter(Generic[AnyStr]):

stubs/regex/regex/_regex_core.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ from collections.abc import Callable
33
from typing import Any, AnyStr, Generic
44
from typing_extensions import TypeAlias
55

6-
from regex import Pattern
6+
from ._main import Pattern
77

88
__all__ = [
99
"A",

0 commit comments

Comments
 (0)