diff options
| author | Stephan Hoyer <shoyer@google.com> | 2018-10-25 08:26:57 -0700 |
|---|---|---|
| committer | Stephan Hoyer <shoyer@google.com> | 2018-10-25 08:26:57 -0700 |
| commit | 9660f011e126e60e76ce8925686f59c8a4d1d00a (patch) | |
| tree | 23e197f80505188feb9e7f81b2f1df9e55940142 | |
| parent | 6bdd866d3c8b6858edd25f707bb655185e352ad7 (diff) | |
| download | numpy-9660f011e126e60e76ce8925686f59c8a4d1d00a.tar.gz | |
DOC: document __module__ updates for 1.16
| -rw-r--r-- | doc/release/1.16.0-notes.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/release/1.16.0-notes.rst b/doc/release/1.16.0-notes.rst index 599123f97..ccb548799 100644 --- a/doc/release/1.16.0-notes.rst +++ b/doc/release/1.16.0-notes.rst @@ -224,6 +224,15 @@ The ``help`` function, when applied to numeric types such as `np.intc`, `np.int_`, and `np.longlong`, now lists all of the aliased names for that type, distinguishing between platform -dependent and -independent aliases. +``__module__`` attribute now points to public modules +----------------------------------------------------- +The ``__module__`` attribute on most NumPy functions has been updated to refer +to the preferred public module from which to access a function, rather than +the module in which the function happens to be defined. This produces more +informative displays for functions in tools such as IPython, e.g., instead of +``<function 'numpy.core.fromnumeric.sum'>`` you now see +``<function 'numpy.sum'>``. + Large allocations marked as suitable for transparent hugepages -------------------------------------------------------------- On systems that support transparent hugepages over the madvise system call |
