parameters: (self)
docstring: Return a file-like object into which the request body will be read.
  
          By default, this will return a TemporaryFile. Override as needed.
          See also :attr:`cherrypy._cpreqbody.Part.maxrambytes`.
docstring_summary: Return a file-like object into which the request body will be read.
docstring_tokens: Return a file - like object into which the request body will be read .
function: def make_file(self):
          """Return a file-like object into which the request body will be read.
  
          By default, this will return a TemporaryFile. Override as needed.
          See also :attr:`cherrypy._cpreqbody.Part.maxrambytes`."""
          # SOUTHPAW: for efficiency, we need access to file on upload
          # return tempfile.TemporaryFile()
          import os
          if os.name == 'nt':
              return tempfile.TemporaryFile()
          else:
              fd, path = tempfile.mkstemp()
              self.path = path
              fp_out = os.fdopen(fd, 'w+')
              return fp_out
function_tokens: def make_file ( self ) : # SOUTHPAW: for efficiency, we need access to file on upload # return tempfile.TemporaryFile() import os if os . name == 'nt' : return tempfile . TemporaryFile ( ) else : fd , path = tempfile . mkstemp ( ) self . path = path fp_out = os . fdopen ( fd , 'w+' ) return fp_out