Skip to content

Commit 8ad4d05

Browse files
committed
CLN: breaks line to avoid 81 char length
1 parent c6fe062 commit 8ad4d05

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/core/generic.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1907,7 +1907,8 @@ def _slice(self, slobj, axis=0, kind=None):
19071907
return result
19081908

19091909
def _set_item(self, key, value):
1910-
if isinstance(key, string_types) and callable(getattr(self, key, None)):
1910+
if (isinstance(key, string_types)
1911+
and callable(getattr(self, key, None))):
19111912
warnings.warn("Column name '{key}' collides with a built-in "
19121913
"method, which will cause unexpected attribute "
19131914
"behavior".format(key=key), stacklevel=3)

0 commit comments

Comments
 (0)