Hacker News new | ask | show | jobs
by kevinmgranger 2982 days ago
One of the examples in the documentation uses a method. https://docs.python.org/3/library/typing.html#typing.NamedTu...
1 comments

Yeah, you're right. You just cannot overwrite __init__:

> AttributeError: Cannot overwrite NamedTuple attribute __init__