home
·
contact
·
privacy
projects
/
ircplom
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3025356
)
Straighten consistence between class expectations.
author
Christian Heller
<c.heller@plomlompom.de>
Fri, 5 Sep 2025 13:14:31 +0000
(15:14 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Fri, 5 Sep 2025 13:14:31 +0000
(15:14 +0200)
ircplom/client.py
patch
|
blob
|
history
diff --git
a/ircplom/client.py
b/ircplom/client.py
index 5d906f9b51867020f550217f49f45b4fb92d22e3..35f354dfe171e3c27048090f91cf3823e6f90ba9 100644
(file)
--- a/
ircplom/client.py
+++ b/
ircplom/client.py
@@
-394,7
+394,7
@@
class _Channel:
class _NickUserHost(NickUserHost):
def __setattr__(self, key: str, value: NickUserHost | str) -> None:
- if key == 'nickuserhost' and isinstance(value,
_
NickUserHost):
+ if key == 'nickuserhost' and isinstance(value, NickUserHost):
for annotated_key in NickUserHost.__annotations__:
setattr(self, annotated_key, getattr(value, annotated_key))
else: