Skip to content

Typeshed branch 'master' was renamed to 'main' #13980

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 1, 2022
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