[issue36584] cython nametuple TypeError

beruhan report at bugs.python.org
Wed Apr 10 03:26:59 EDT 2019


beruhan <baiwenping00 at gmail.com> added the comment:

the class definitions as follows:
from typing import NamedTuple


class Info(NamedTuple):
    service: str
    damage: str
    privilege: str


info = Info("http", "no", "no")

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36584>
_______________________________________


More information about the Python-bugs-list mailing list