diff options
Diffstat (limited to 'numpy/lib')
-rw-r--r-- | numpy/lib/_datasource.py | 5 | ||||
-rw-r--r-- | numpy/lib/arraysetops.py | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/numpy/lib/_datasource.py b/numpy/lib/_datasource.py index 8201d3772..b7778234e 100644 --- a/numpy/lib/_datasource.py +++ b/numpy/lib/_datasource.py @@ -280,8 +280,9 @@ class DataSource: def _splitzipext(self, filename): """Split zip extension from filename and return filename. - *Returns*: - base, zip_ext : {tuple} + Returns + ------- + base, zip_ext : {tuple} """ diff --git a/numpy/lib/arraysetops.py b/numpy/lib/arraysetops.py index bd56b6975..d44e1a983 100644 --- a/numpy/lib/arraysetops.py +++ b/numpy/lib/arraysetops.py @@ -640,7 +640,7 @@ def _isin_dispatcher(element, test_elements, assume_unique=None, invert=None): @array_function_dispatch(_isin_dispatcher) def isin(element, test_elements, assume_unique=False, invert=False): """ - Calculates `element in test_elements`, broadcasting over `element` only. + Calculates ``element in test_elements``, broadcasting over `element` only. Returns a boolean array of the same shape as `element` that is True where an element of `element` is in `test_elements` and False otherwise. |