summaryrefslogtreecommitdiff
path: root/numpy/doc/misc.py
Commit message (Collapse)AuthorAgeFilesLines
* MAINT: Remove unnecessary 'from __future__ import ...' statementsJon Dufresne2020-01-031-1/+0
| | | | | As numpy is Python 3 only, these import statements are now unnecessary and don't alter runtime behavior.
* HTTP -> HTTPS, and other linkrot fixesMike Toews2018-06-161-1/+1
|
* DOC: fix broken links for developer documentationNikita Kartashov2018-04-211-1/+1
| | | | | | Some links in developer documentation and files had extraneous '-dev' in them, removing it restore the working state of the links. See: #10939
* MAINT: Don't internally use the one-argument whereEric Wieser2017-06-031-1/+2
| | | | nonzero is a clearer spelling
* Fix number sequenceAbdullah Alrasheed2016-01-141-4/+4
| | | | | | I have found that there are two missing numbers in a sequence in the documentation. http://docs.scipy.org/doc/numpy/user/misc.html#interfacing-to-c It goes 1,2,3,5,7,8 with missing 4 and 6.
* DOC: Use print only as function when print_function is imported from __future__gfyoung2015-12-191-1/+1
| | | | Closes gh-6863.
* DOC: clean up docs in userguide for interfacing to compiled code a bit.Ralf Gommers2014-04-211-29/+26
| | | | | | Add a link to f2py docs, which was missing. [ci skip]
* STY: Giant whitespace cleanup.Charles Harris2013-08-181-1/+0
| | | | Now is as good a time as any with open PR's at a low.
* 2to3: Apply `print` fixer.Charles Harris2013-04-061-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 Harris2013-03-281-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 Harris2013-03-011-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.
* ENH: Change the default error handling to warn instead of print, except for ↵Robert Kern2011-04-011-18/+22
| | | | underflow, which remains ignored.
* more docstring updates from pydoc website (thanks to everyone who contributed!)Jarrod Millman2010-02-171-17/+19
|
* small doctest fixesPaul Ivanov2009-12-301-5/+3
|
* fixed a whole bunch of doctestsPaul Ivanov2009-12-281-2/+3
|
* Merge from the doc wikiPauli Virtanen2009-03-241-1/+1
|
* Import documentation from doc wiki (part 2, work-in-progress docstrings, but ↵Pauli Virtanen2008-10-281-2/+216
| | | | they are still an improvement)
* Move documentation outside of source tree. Remove `doc` import from __init__.Stefan van der Walt2008-08-231-0/+9