You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from collections import defaultdict
from typing import Any, Dict, Tuple, Union
class Point(object):
def __init__(self, x, y):
# type: (int, int) -> None
self.x = x
self.y = y
x = defaultdict(lambda: Point(0, 0))
mypy complains with:
sandbox.py:12: error: Need type annotation for variable
The text was updated successfully, but these errors were encountered:
On this code:
mypy complains with:
The text was updated successfully, but these errors were encountered: