parameters: (self, kind)
return_statement: return path
docstring: Create a temporary directory and store its path in self.path
docstring_summary: Create a temporary directory and store its path in self.path
docstring_tokens: Create a temporary directory and store its path in self . path
function: def _create(self, kind):
          # type: (str) -> str
          """Create a temporary directory and store its path in self.path
          """
          # We realpath here because some systems have their default tmpdir
          # symlinked to another directory.  This tends to confuse build
          # scripts, so we canonicalize the path by traversing potential
          # symlinks here.
          path = os.path.realpath(
              tempfile.mkdtemp(prefix=f"pip-{kind}-")
          )
          logger.debug("Created temporary directory: %s", path)
          return path
function_tokens: def _create ( self , kind ) : # type: (str) -> str # We realpath here because some systems have their default tmpdir # symlinked to another directory.  This tends to confuse build # scripts, so we canonicalize the path by traversing potential # symlinks here. path = os . path . realpath ( tempfile . mkdtemp ( prefix = f"pip-{kind}-" ) ) logger . debug ( "Created temporary directory: %s" , path ) return path