Skip to content

Commit

Permalink
Fix typo in numpy tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
podsvirov authored and stefanseefeld committed Jul 1, 2024
1 parent 0474de0 commit 1fed082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/numpy/tutorial/dtype.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Next, create a list, and add this tuple to the list. Then use the list to create
list_for_dtype.append(for_custom_dtype) ;
np::dtype custom_dtype = np::dtype(list_for_dtype) ;

We are now ready to create an ndarray with dimensions specified by \*shape\* and of custom dtpye ::
We are now ready to create an ndarray with dimensions specified by \*shape\* and of custom dtype ::

np::ndarray new_array = np::zeros(shape,custom_dtype);
}

0 comments on commit 1fed082

Please sign in to comment.