Skip to content

Commit 31cd304

Browse files
committed
pep8
1 parent 338566f commit 31cd304

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pandas/core/arrays/base.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ def _values_for_take(self):
476476
return self.astype(object)
477477

478478
def take(self, indexer, fill_value=None, allow_fill=None):
479-
# type: (Sequence[int], Optional[Any], Optional[bool]) -> ExtensionArray
479+
# type: (Sequence[int], Optional[Any], bool) -> ExtensionArray
480480
"""Take elements from an array.
481481
482482
Parameters
@@ -534,7 +534,8 @@ def take(self, indexer, fill_value=None, allow_fill=None):
534534
if allow_fill and fill_value is None:
535535
fill_value = self.dtype.na_value
536536

537-
result = take(data, indexer, fill_value=fill_value, allow_fill=allow_fill)
537+
result = take(data, indexer, fill_value=fill_value,
538+
allow_fill=allow_fill)
538539
return self._from_sequence(result)
539540

540541
def copy(self, deep=False):

0 commit comments

Comments
 (0)