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):
|
class Name(object):
|
||||||
normal: str
|
def __init__(self,
|
||||||
folded: str
|
normal: str,
|
||||||
|
folded: str):
|
||||||
|
self.normal = normal
|
||||||
|
self.folded = folded
|
||||||
|
|
Loading…
Reference in New Issue