Skip to content

Commit b60a261

Browse files
committed
Update test_deprecate_nonkeyword_arguments.py
Update documentation string.
1 parent 4803b5e commit b60a261

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/util/test_deprecate_nonkeyword_arguments.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ def test_four_arguments():
7171
@deprecate_nonkeyword_arguments(version="1.1")
7272
def g(a, b=0, c=0, d=0):
7373
"""
74-
Sum of one to four numbers, the two last arguments
75-
should be given as keyword arguments only
74+
Sum of one to four numbers, but three of them have default
75+
values, so may be given as keyword arguments only.
7676
"""
7777
return a + b + c + d
7878

0 commit comments

Comments
 (0)