mirror of
https://github.com/powerline/powerline.git
synced 2025-07-12 00:14:54 +02:00
Do not call Dimensions.__init__
This commit is contained in:
parent
93cbeb92e9
commit
a2bc59c020
@ -17,7 +17,6 @@ class MutableDimensions(Dimensions):
|
|||||||
return Dimensions.__new__(cls, rows, cols)
|
return Dimensions.__new__(cls, rows, cols)
|
||||||
|
|
||||||
def __init__(self, rows, cols):
|
def __init__(self, rows, cols):
|
||||||
Dimensions.__init__(self, rows, cols)
|
|
||||||
self._list = [rows, cols]
|
self._list = [rows, cols]
|
||||||
|
|
||||||
def __getitem__(self, idx):
|
def __getitem__(self, idx):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user