Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | MAINT, DOC: move informational files from numpy.doc.*.py to their *.rst ↵ | Matti Picus | 2020-09-02 | 1 | -752/+0 |
| | | | | | | | | | counterparts (#17222) * DOC: redistribute docstring-only content from numpy/doc * DOC: post-transition clean-up * DOC, MAINT: reskip doctests, fix a few easy ones | ||||
* | DOC: Correct error in description of ndarray.base | Ryan Soklaski | 2020-08-28 | 1 | -2/+2 |
| | | | Found in subsection of Subclassing ndarray in python: Extra gotchas - custom __del__ methods and ndarray.base | ||||
* | DOC: Add missing bracket (gh-16051) | Chunlin | 2020-04-25 | 1 | -1/+1 |
| | | | Add missing closing brackets, script to generate the list in the PR gh-16051. | ||||
* | MAINT: Implement keyword-only arguments as syntax | Eric Wieser | 2020-01-06 | 1 | -2/+2 |
| | | | | Now that 2.7 is gone, there is no need to pop manually from kwarg dictionaries. | ||||
* | MAINT: Remove implicit inheritance from object class (#15236) | Jon Dufresne | 2020-01-05 | 1 | -1/+1 |
| | | | | | | | Inheriting from object was necessary for Python 2 compatibility to use new-style classes. In Python 3, this is unnecessary as there are no old-style classes. Dropping the object is more idiomatic Python. | ||||
* | MAINT: Remove unnecessary 'from __future__ import ...' statements | Jon Dufresne | 2020-01-03 | 1 | -1/+0 |
| | | | | | As numpy is Python 3 only, these import statements are now unnecessary and don't alter runtime behavior. | ||||
* | DOC: add comment to explain `object.__new__`. | Ralf Gommers | 2019-08-28 | 1 | -0/+1 |
| | | | | [ci skip] | ||||
* | DOC: fix issue with __new__ usage in subclassing doc. | Ralf Gommers | 2019-08-28 | 1 | -1/+1 |
| | | | | Closes gh-14386. | ||||
* | HTTP -> HTTPS, and other linkrot fixes | Mike Toews | 2018-06-16 | 1 | -1/+1 |
| | |||||
* | DOC: Fix minor typos | luz.paz | 2018-03-30 | 1 | -1/+1 |
| | | | Found via `codespell -q 3 -I ../numpy-whitelist.txt` | ||||
* | More misc. typos | luz.paz | 2018-01-04 | 1 | -1/+1 |
| | | | Found via `codespell` | ||||
* | DOC: BLD: fix lots of Sphinx warnings/errors. | Ralf Gommers | 2017-06-10 | 1 | -1/+1 |
| | |||||
* | DOC: update documentation allowing tuple of one in reduce, etc. | Marten van Kerkwijk | 2017-05-17 | 1 | -0/+2 |
| | |||||
* | BUG: Support nout == 0 and at method | Eric Wieser | 2017-04-27 | 1 | -1/+4 |
| | |||||
* | DOC,TST: clarify example of ndarray subclass using __array_ufunc__ | Marten van Kerkwijk | 2017-04-27 | 1 | -7/+6 |
| | | | | Also add a few more tests of the same example for good measure. | ||||
* | DOC: implement many smaller and bigger changes suggested in review. | Marten van Kerkwijk | 2017-04-27 | 1 | -15/+18 |
| | |||||
* | DOC: clarify use of super and getattr | Marten van Kerkwijk | 2017-04-27 | 1 | -11/+36 |
| | |||||
* | DOC: Describe __array_func__ in subclassing | Marten van Kerkwijk | 2017-04-27 | 1 | -33/+148 |
| | | | | | This includes the use of super everywhere, and in the brief description of __array_ufunc__ in the reference section. | ||||
* | DOC: describe current implementation of __array_ufunc__. | Marten van Kerkwijk | 2017-04-27 | 1 | -0/+4 |
| | |||||
* | DOC: Removed broken link | Jesse Thoren | 2017-02-23 | 1 | -6/+0 |
| | | | | | Removed a broken link from the subclassing ndarray in the user guide. Removed credit to Pierre Gerard-Marchant, as this is out of place in the user guide. #8673 | ||||
* | DOC: change Numpy to NumPy in dosctrings and comments | Pierre de Buyl | 2016-09-06 | 1 | -2/+2 |
| | | | | The strings in error messages were left untouched | ||||
* | DOC: Update subclassing doc regarding downstream compat | gfyoung | 2016-08-11 | 1 | -0/+47 |
| | | | | [ci skip] | ||||
* | DOC: Fix more typos in docs and comments. | Dongjoon Hyun | 2016-02-25 | 1 | -1/+1 |
| | |||||
* | DOC: Use print only as function when print_function is imported from __future__ | gfyoung | 2015-12-19 | 1 | -18/+18 |
| | | | | Closes gh-6863. | ||||
* | STY: Giant whitespace cleanup. | Charles Harris | 2013-08-18 | 1 | -1/+0 |
| | | | | Now is as good a time as any with open PR's at a low. | ||||
* | 2to3: Apply `print` fixer. | Charles Harris | 2013-04-06 | 1 | -1/+1 |
| | | | | | | | Add `print_function` to all `from __future__ import ...` statements and use the python3 print function syntax everywhere. Closes #3078. | ||||
* | 2to3: Use absolute imports. | Charles Harris | 2013-03-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new import `absolute_import` is added the `from __future__ import` statement and The 2to3 `import` fixer is run to make the imports compatible. There are several things that need to be dealt with to make this work. 1) Files meant to be run as scripts run in a different environment than files imported as part of a package, and so changes to those files need to be skipped. The affected script files are: * all setup.py files * numpy/core/code_generators/generate_umath.py * numpy/core/code_generators/generate_numpy_api.py * numpy/core/code_generators/generate_ufunc_api.py 2) Some imported modules are not available as they are created during the build process and consequently 2to3 is unable to handle them correctly. Files that import those modules need a bit of extra work. The affected files are: * core/__init__.py, * core/numeric.py, * core/_internal.py, * core/arrayprint.py, * core/fromnumeric.py, * numpy/__init__.py, * lib/npyio.py, * lib/function_base.py, * fft/fftpack.py, * random/__init__.py Closes #3172 | ||||
* | 2to3: Put `from __future__ import division in every python file. | Charles Harris | 2013-03-01 | 1 | -0/+2 |
| | | | | | | | | This should be harmless, as we already are division clean. However, placement of this import takes some care. In the future a script can be used to append new features without worry, at least until such time as it exceeds a single line. Having that ability will make it easier to deal with absolute imports and printing updates. | ||||
* | fix a minor mistake in the previous commit | Darren Dale | 2009-08-25 | 1 | -1/+1 |
| | |||||
* | add comment about __array_prepare__ to 1.4 release notes | Darren Dale | 2009-08-25 | 1 | -2/+2 |
| | |||||
* | add support for __array_prepare__ | Darren Dale | 2009-08-23 | 1 | -13/+25 |
| | |||||
* | Fixing internal links | Matthew Brett | 2009-07-23 | 1 | -1/+2 |
| | |||||
* | After thinking, a more general understanding of slicing etc | Matthew Brett | 2009-07-23 | 1 | -45/+71 |
| | |||||
* | and more tiny doc typos | Matthew Brett | 2009-07-23 | 1 | -2/+1 |
| | |||||
* | Experimenting with __array_wrap__ | Matthew Brett | 2009-07-23 | 1 | -39/+106 |
| | |||||
* | Tiny doc rearrangement | Matthew Brett | 2009-07-23 | 1 | -4/+4 |
| | |||||
* | Further extension of doctests for inheritance | Matthew Brett | 2009-07-23 | 1 | -55/+97 |
| | |||||
* | Small edits to subclassing doc to make classes more explicit | Matthew Brett | 2009-07-23 | 1 | -14/+14 |
| | |||||
* | Moving more to doctests, more explanation of views, slices | Matthew Brett | 2009-07-23 | 1 | -95/+96 |
| | |||||
* | Moving some examples to doctest format; removed debugging cruft in example | Matthew Brett | 2009-07-22 | 1 | -53/+46 |
| | |||||
* | Some clearer explanation of __array_finalize__ | Matthew Brett | 2009-07-22 | 1 | -45/+171 |
| | |||||
* | Import documentation from doc wiki (part 2, work-in-progress docstrings, but ↵ | Pauli Virtanen | 2008-10-28 | 1 | -11/+12 |
| | | | | they are still an improvement) | ||||
* | reindenting prior to release | Jarrod Millman | 2008-09-02 | 1 | -41/+41 |
| | |||||
* | Point to example | Matthew Brett | 2008-08-27 | 1 | -3/+3 |
| | |||||
* | Document on subclassing | Matthew Brett | 2008-08-27 | 1 | -0/+291 |