16 lines
538 B
Python
16 lines
538 B
Python
import numpy as np
|
|
|
|
np.testing.bob # E: Module has no attribute
|
|
np.bob # E: Module has no attribute
|
|
|
|
# Stdlib modules in the namespace by accident
|
|
np.warnings # E: Module has no attribute
|
|
np.sys # E: Module has no attribute
|
|
np.os # E: Module has no attribute
|
|
np.math # E: Module has no attribute
|
|
|
|
# Public sub-modules that are not imported to their parent module by default;
|
|
# e.g. one must first execute `import numpy.lib.recfunctions`
|
|
np.lib.recfunctions # E: Module has no attribute
|
|
np.ma.mrecords # E: Module has no attribute
|