From 763cb87bfe47fdd5efed59e909ee4e4e8ae6b36b Mon Sep 17 00:00:00 2001 From: Katharine Hyatt Date: Wed, 13 Mar 2019 19:40:51 -0400 Subject: DOC: fix arg type for np.pad, fix #9489 --- numpy/lib/arraypad.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'numpy/lib/arraypad.py') diff --git a/numpy/lib/arraypad.py b/numpy/lib/arraypad.py index b236cc449..2ff12eadd 100644 --- a/numpy/lib/arraypad.py +++ b/numpy/lib/arraypad.py @@ -1026,7 +1026,7 @@ def pad(array, pad_width, mode, **kwargs): length for all axes. Default is ``None``, to use the entire axis. - constant_values : sequence or int, optional + constant_values : sequence or scalar, optional Used in 'constant'. The values to set the padded values for each axis. @@ -1040,7 +1040,7 @@ def pad(array, pad_width, mode, **kwargs): all axes. Default is 0. - end_values : sequence or int, optional + end_values : sequence or scalar, optional Used in 'linear_ramp'. The values used for the ending value of the linear_ramp and that will form the edge of the padded array. -- cgit v1.2.1