summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authordefault-303 <ajayds2001@gmail.com>2021-05-26 17:58:53 +0530
committerdefault-303 <ajayds2001@gmail.com>2021-05-26 17:58:53 +0530
commitb30318a031624e17b01ffa5f82853c24c5111f32 (patch)
tree89e23992ea680143fa8cbb05afbd046991f71ac5 /numpy
parentdf363b0e644ba1ad2bf1815a126935f120c19860 (diff)
downloadnumpy-b30318a031624e17b01ffa5f82853c24c5111f32.tar.gz
MAINT: Added comments for future refrence in core.py and system_info.py - fixed Azure linter 'line too long' error
Diffstat (limited to 'numpy')
-rw-r--r--numpy/distutils/system_info.py3
-rw-r--r--numpy/ma/core.py3
2 files changed, 4 insertions, 2 deletions
diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py
index 1aed46967..ded7d06e2 100644
--- a/numpy/distutils/system_info.py
+++ b/numpy/distutils/system_info.py
@@ -3105,7 +3105,8 @@ def show_all(argv=None):
del show_only[show_only.index(name)]
conf = c()
conf.verbosity = 2
- # we don't need the result, but we want the side effect of printing diagnostics
+ # we don't need the result, but we want
+ # the side effect of printing diagnostics
r = conf.get_info()
if show_only:
log.info('Info classes not defined: %s', ','.join(show_only))
diff --git a/numpy/ma/core.py b/numpy/ma/core.py
index 186f72bf4..03963d6c7 100644
--- a/numpy/ma/core.py
+++ b/numpy/ma/core.py
@@ -2842,7 +2842,8 @@ class MaskedArray(ndarray):
# Backwards compatibility w/ numpy.core.ma.
if hasattr(data, '_mask') and not isinstance(data, ndarray):
_data._mask = data._mask
- # FIXME: should we set `_data._sharedmask = True`? Previously this set `_sharedmask = True`, but
+ # FIXME: should we set `_data._sharedmask = True`?
+ # Previously this set `_sharedmask = True`, but
# that didn't actually do anything as the variable was unused!
# Process mask.