parameters: (envvar_dict)
return_statement: return block
docstring: Format as an 'environment block' directly suitable for CreateProcess.
      Briefly this is a list of key=value\0, terminated by an additional \0. See
      CreateProcess documentation for more details.
docstring_summary: Format as an 'environment block' directly suitable for CreateProcess.
      Briefly this is a list of key=value\0, terminated by an additional \0. See
      CreateProcess documentation for more details.
docstring_tokens: Format as an environment block directly suitable for CreateProcess . Briefly this is a list of key = value \ 0 terminated by an additional \ 0 . See CreateProcess documentation for more details .
function: def _FormatAsEnvironmentBlock(envvar_dict):
      """Format as an 'environment block' directly suitable for CreateProcess.
      Briefly this is a list of key=value\0, terminated by an additional \0. See
      CreateProcess documentation for more details."""
      block = ""
      nul = "\0"
      for key, value in envvar_dict.items():
          block += key + "=" + value + nul
      block += nul
      return block
function_tokens: def _FormatAsEnvironmentBlock ( envvar_dict ) : block = "" nul = "\0" for key , value in envvar_dict . items ( ) : block += key + "=" + value + nul block += nul return block