Skip to content

Commit 846c42b

Browse files
emmatypinggvanrossum
authored andcommitted
Correct suggested command to checkout typeshed (#4023)
`git` will not allow `git submodule --init update`, only `git submodule update --init`
1 parent 9b58e78 commit 846c42b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ def default_lib_path(data_dir: str,
307307
path.append('/usr/local/lib/mypy')
308308
if not path:
309309
print("Could not resolve typeshed subdirectories. If you are using mypy\n"
310-
"from source, you need to run \"git submodule --init update\".\n"
310+
"from source, you need to run \"git submodule update --init\".\n"
311311
"Otherwise your mypy install is broken.\nPython executable is located at "
312312
"{0}.\nMypy located at {1}".format(sys.executable, data_dir), file=sys.stderr)
313313
sys.exit(1)

0 commit comments

Comments
 (0)