@@ -244,11 +244,11 @@ def patch_numpy_umath(verbose=False):
244244 >>> mkl_umath.is_patched()
245245 # False
246246
247- >>> mkl_umath.use_in_numpy () # Enable mkl_umath in Numpy
247+ >>> mkl_umath.patch_numpy_umath () # Enable mkl_umath in Numpy
248248 >>> mkl_umath.is_patched()
249249 # True
250250
251- >>> mkl_umath.restore () # Disable mkl_umath in Numpy
251+ >>> mkl_umath.restore_numpy_umath () # Disable mkl_umath in Numpy
252252 >>> mkl_umath.is_patched()
253253 # False
254254 """
@@ -286,11 +286,11 @@ def restore_numpy_umath(verbose=False):
286286 >>> mkl_umath.is_patched()
287287 # False
288288
289- >>> mkl_umath.use_in_numpy () # Enable mkl_umath in Numpy
289+ >>> mkl_umath.patch_numpy_umath () # Enable mkl_umath in Numpy
290290 >>> mkl_umath.is_patched()
291291 # True
292292
293- >>> mkl_umath.restore () # Disable mkl_umath in Numpy
293+ >>> mkl_umath.restore_numpy_umath () # Disable mkl_umath in Numpy
294294 >>> mkl_umath.is_patched()
295295 # False
296296 """
@@ -304,7 +304,7 @@ def use_in_numpy():
304304 See patch_numpy_umath for details and examples.
305305 """
306306 warnings.warn(
307- " use_in_numpy is deprecated since mkl_random 0.4.0 and will be removed "
307+ " use_in_numpy is deprecated since mkl_umath 0.4.0 and will be removed "
308308 " in a future release. Use `patch_numpy_umath` instead." ,
309309 DeprecationWarning ,
310310 stacklevel = 2 ,
@@ -319,7 +319,7 @@ def restore():
319319 See restore_numpy_umath for details and examples.
320320 """
321321 warnings.warn(
322- " restore is deprecated since mkl_random 0.4.0 and will be "
322+ " restore is deprecated since mkl_umath 0.4.0 and will be "
323323 " removed in a future release. Use `restore_numpy_umath` instead." ,
324324 DeprecationWarning ,
325325 stacklevel = 2 ,
0 commit comments