Skip to content

Commit b64388b

Browse files
committed
CLN: breaks line to avoid 81 char length
1 parent 7a92b7f commit b64388b

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
@@ -1906,7 +1906,8 @@ def _slice(self, slobj, axis=0, kind=None):
19061906
return result
19071907

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

0 commit comments

Comments
 (0)