Skip to content

Commit cad2bb2

Browse files
committed
Fix stubgen after move
1 parent 3aedd94 commit cad2bb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/stubgen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def generate_stub(path: str,
202202
include_private: bool = False
203203
) -> None:
204204

205-
source, _ = mypy.build.read_with_python_encoding(path, pyversion)
205+
source, _ = mypy.util.read_with_python_encoding(path, pyversion)
206206
options = MypyOptions()
207207
options.python_version = pyversion
208208
try:

0 commit comments

Comments
 (0)