Skip to content

Commit 5ac7dbc

Browse files
committed
Removed extra backspaces
1 parent e292ed9 commit 5ac7dbc

File tree

1 file changed

+4
-4
lines changed
  • pydatastructs/linear_data_structures

1 file changed

+4
-4
lines changed

pydatastructs/linear_data_structures/arrays.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -552,10 +552,10 @@ def __new__(cls, dtype=NoneType, *args, **kwargs):
552552
raise ValueError("Too many arguments to create a implicit 1D array, "
553553
"pass the function of the array "
554554
"and the size of the array")
555-
555+
556556
obj = Array.__new__(cls)
557557
obj._dtype = dtype
558-
558+
559559
if callable(args[0]) and \
560560
_check_type(args[1], int):
561561
obj._function = args[0]
@@ -567,7 +567,7 @@ def __new__(cls, dtype=NoneType, *args, **kwargs):
567567
else:
568568
raise TypeError("Expected type of function is function "
569569
"and expected type of size is int")
570-
570+
571571
return obj
572572

573573
def __getitem__(self, i):
@@ -580,5 +580,5 @@ def __len__(self):
580580
return self._size
581581

582582
@property
583-
def _data(self):
583+
def _data(self):
584584
return [self._function(i) for i in range(self._size)]

0 commit comments

Comments
 (0)