diff options
author | Jacob Walls <jacobtylerwalls@gmail.com> | 2023-05-16 08:25:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-16 14:25:25 +0200 |
commit | 60daec60011d0b3a6be52c9410d1d7ef0179349d (patch) | |
tree | 5bb1d73eb9f8af22ba731a0a64f7bf8f10ba562c /doc/data/messages/p/prefer-typing-namedtuple/good.py | |
parent | d7baf5d43fa8de68c4c169f731ae5af43ce60790 (diff) | |
download | pylint-git-main.tar.gz |
Closes #8660
Diffstat (limited to 'doc/data/messages/p/prefer-typing-namedtuple/good.py')
-rw-r--r-- | doc/data/messages/p/prefer-typing-namedtuple/good.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/data/messages/p/prefer-typing-namedtuple/good.py b/doc/data/messages/p/prefer-typing-namedtuple/good.py new file mode 100644 index 000000000..ef094aacd --- /dev/null +++ b/doc/data/messages/p/prefer-typing-namedtuple/good.py @@ -0,0 +1,7 @@ +from typing import NamedTuple + + +class Philosophy(NamedTuple): + goodness: str + truth: bool + beauty: float |