Skip to content

Commit 6fa2ccb

Browse files
committed
Update mypy version
This syncs up with the version we are going to merge into
1 parent 35cf13d commit 6fa2ccb

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

mypyc/external/mypy

Submodule mypy updated 78 files

mypyc/genops.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def f(x: int) -> int:
3131
IndexExpr, Block, Expression, ListExpr, ExpressionStmt, MemberExpr, ForStmt, RefExpr, Lvalue,
3232
BreakStmt, ContinueStmt, ConditionalExpr, OperatorAssignmentStmt, TupleExpr, ClassDef,
3333
TypeInfo, Import, ImportFrom, ImportAll, DictExpr, StrExpr, CastExpr, TempNode,
34-
PassStmt, PromoteExpr, AwaitExpr, BackquoteExpr, AssertStmt, BytesExpr,
34+
PassStmt, PromoteExpr, AssignmentExpr, AwaitExpr, BackquoteExpr, AssertStmt, BytesExpr,
3535
ComplexExpr, Decorator, DelStmt, DictionaryComprehension, EllipsisExpr, EnumCallExpr, ExecStmt,
3636
FloatExpr, GeneratorExpr, GlobalDecl, LambdaExpr, ListComprehension, SetComprehension,
3737
NamedTupleExpr, NewTypeExpr, NonlocalDecl, OverloadedFuncDef, PrintStmt, RaiseStmt,
@@ -4364,6 +4364,10 @@ def flatten_classes(self, arg: Union[RefExpr, TupleExpr]) -> Optional[List[Class
43644364
def visit_await_expr(self, o: AwaitExpr) -> Value:
43654365
return self.handle_yield_from_and_await(o)
43664366

4367+
# Unimplemented constructs
4368+
def visit_assignment_expr(self, o: AssignmentExpr) -> Value:
4369+
self.bail("I Am The Walrus (unimplemented)", o.line)
4370+
43674371
# Unimplemented constructs that shouldn't come up because they are py2 only
43684372
def visit_backquote_expr(self, o: BackquoteExpr) -> Value:
43694373
self.bail("Python 2 features are unsupported", o.line)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy