mirror of https://github.com/jesopo/ircstates
python3.6 doesn't have native dataclasses!
This commit is contained in:
parent
83b31b6b2b
commit
c32b4bdd62
|
@ -1,6 +1,7 @@
|
|||
from dataclasses import dataclass
|
||||
|
||||
@dataclass
|
||||
class Name(object):
|
||||
normal: str
|
||||
folded: str
|
||||
def __init__(self,
|
||||
normal: str,
|
||||
folded: str):
|
||||
self.normal = normal
|
||||
self.folded = folded
|
||||
|
|
Loading…
Reference in New Issue