Skip to content

Commit

Permalink
Typeshed branch 'master' was renamed to 'main' (#13980)
Browse files Browse the repository at this point in the history
There aren't really any big changes required over on mypy's side (I was
worried there would be more breakage, but I think mypy should be fine).
Cf. python/typeshed#8956.
  • Loading branch information
AlexWaygood authored Nov 1, 2022
1 parent 55d0adf commit 32c26f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit 32c26f2

Please sign in to comment.