Панферов Виктор ClassOnly 13753
jzadorozhnaya ClassOnly 17690
f1from itertools import productf1from itertools import product
22
3class Struct:3class Struct:
4    __slots__ = []4    __slots__ = []
n5    _fuk = frozenset(map(''.join, product('abcd', repeat=4)))n5    _s = frozenset(map(''.join, product('abcd', repeat=4)))
66
7    def __getattribute__(self, attr):7    def __getattribute__(self, attr):
t8        if attr in Struct._fuk:t8        if attr in Struct._s:
9            return attr9            return attr
10        raise AttributeError()10        raise AttributeError()
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op