beruhan <baiwenpin...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue36584>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to