Skip to content

Commit

Permalink
increase warning stacklevel from 1 to 2
Browse files Browse the repository at this point in the history
  • Loading branch information
alifeee committed Dec 4, 2023
1 parent 7974168 commit 5660483
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gspread/worksheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -1218,6 +1218,7 @@ def update(
"Please pass values first and range_name second"
"or used named arguments (range_name=, values=)",
DeprecationWarning,
stacklevel=2,
)
range_name, values = values, range_name

Expand Down

0 comments on commit 5660483

Please sign in to comment.