Мелия Ереджепова, 318 группа NegExtender 12088
Ворошилова Ксения Михайловна 318 NegExtender 12097
f1class NegExt:f1class NegExt:
22
3    def __neg__(self):3    def __neg__(self):
n4        parr = self.__class__n4        f = self.__class__
5        try:5        try:
n6            return parr(super().__neg__())n6            return f(super().__neg__())
7        except:7        except:
8            try:8            try:
n9                return parr(self[1:-1])n9                return f(self[1:-1])
10            except:10            except:
t11                return parr(self)t11                return f(self)
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op