parameters: (direc=os.path.curdir, orig=1)
docstring: Convert all .py files to use numpy.oldnumeric (from Numeric) in the directory given
  
      For each file, a backup of <usesnumeric>.py is made as
      <usesnumeric>.py.orig.  A new file named <usesnumeric>.py
      is then written with the updated code.
docstring_summary: Convert all .py files to use numpy.oldnumeric (from Numeric) in the directory given
docstring_tokens: Convert all . py files to use numpy . oldnumeric ( from Numeric ) in the directory given
function: def convertall(direc=os.path.curdir, orig=1):
      """Convert all .py files to use numpy.oldnumeric (from Numeric) in the directory given
  
      For each file, a backup of <usesnumeric>.py is made as
      <usesnumeric>.py.orig.  A new file named <usesnumeric>.py
      is then written with the updated code.
      """
      files = glob.glob(os.path.join(direc, '*.py'))
      for afile in files:
          if afile[-8:] == 'setup.py': continue
          convertfile(afile, orig)
function_tokens: def convertall ( direc = os . path . curdir , orig = 1 ) : files = glob . glob ( os . path . join ( direc , '*.py' ) ) for afile in files : if afile [ - 8 : ] == 'setup.py' : continue convertfile ( afile , orig )