Skip to content

Commit 8f24f2b

Browse files
committed
Fix the type annotation for the endpoint argument to linspace
endpoint=None is not defined, so it should not be Optional.
1 parent c522de4 commit 8f24f2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/API_specification/creation_functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ Returns evenly spaced numbers over a specified interval.
222222
223223
- device to place the created array on, if given. Default: `None`.
224224
225-
- **endpoint**: _Optional\[ bool ]_
225+
- **endpoint**: _bool_
226226
227227
- boolean indicating whether to include `stop` in the interval. Default: `True`.
228228

0 commit comments

Comments
 (0)