Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion misc/sync-typeshed.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def main() -> None:
parser.add_argument(
"--commit",
default=None,
help="Typeshed commit (default to latest master if using a repository clone)",
help="Typeshed commit (default to latest main if using a repository clone)",
)
parser.add_argument(
"--typeshed-dir",
Expand Down
2 changes: 1 addition & 1 deletion mypy/checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -4580,7 +4580,7 @@ def visit_with_stmt(self, s: WithStmt) -> None:
# exceptions or not. We determine this using a heuristic based on the
# return type of the __exit__ method -- see the discussion in
# https://github.com/python/mypy/issues/7214 and the section about context managers
# in https://github.com/python/typeshed/blob/master/CONTRIBUTING.md#conventions
# in https://github.com/python/typeshed/blob/main/CONTRIBUTING.md#conventions
# for more details.

exit_ret_type = get_proper_type(exit_ret_type)
Expand Down