Skip to content

Commit

Permalink
Merge pull request #1361 from burnash/warning-stacklevel
Browse files Browse the repository at this point in the history
increase warning stacklevel from 1 to 2
  • Loading branch information
alifeee authored Dec 4, 2023
2 parents 7974168 + 5660483 commit 9df2564
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 9df2564

Please sign in to comment.