New submission from Keith Campbell :
Find the test case below:
from typing import NamedTuple
class Foo(NamedTuple):
alpha: int
index: int
This results in the following error when run through type-checking with mypy:
% mypy --version
mypy 0.620
% mypy go.py
go.py:5
Keith Campbell added the comment:
> It's up to the OP to file an issue there though
Will do; thanks!
--
___
Python tracker
<https://bugs.python.org
New submission from Keith Campbell :
Python 3.1.1 (r311:74483, Aug 17 2009, 17:02:12) [MSC v.1500 32 bit
(Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> =
Keith Campbell added the comment:
You are correct. Thanks.
Keith
--
___
Python tracker
<http://bugs.python.org/issue6796>
___
___
Python-bugs-list mailin