summaryrefslogtreecommitdiff
path: root/numpy/add_newdocs.py
diff options
context:
space:
mode:
authorcookedm <cookedm@localhost>2006-07-28 20:11:08 +0000
committercookedm <cookedm@localhost>2006-07-28 20:11:08 +0000
commit39bd37d9ee35b8a28aa75ab5e5b0c988c48b0e87 (patch)
tree4cf2bb331c4b5e6b269ea605266fbe1d19f651e2 /numpy/add_newdocs.py
parentb8783285fe67338ef11ba0a40d80ce62172d8ba1 (diff)
downloadnumpy-39bd37d9ee35b8a28aa75ab5e5b0c988c48b0e87.tar.gz
numpy.lib.machar: replace 'while 1' loops with 'for _ in max_iter'
If there are bugs in the scalar objects, the 'while 1' loops can potentially run forever, so we make sure they only go at most 1000 times.
Diffstat (limited to 'numpy/add_newdocs.py')
0 files changed, 0 insertions, 0 deletions