def edit(self, name, description=github.GithubObject.NotSet, permission=github.GithubObject.NotSet, privacy=github.GithubObject.NotSet):
assert isinstance(name, (str, unicode)), name<EOL>assert description is github.GithubObject.NotSet or isinstance(description, (str, unicode)), description<EOL>assert permission is github.GithubObject.NotSet or isinstance(permission, (str, unicode)), permission<EOL>assert privacy is github.GithubObject.NotSet or isinstance(privacy, (str, unicode)), privacy<EOL>post_parameters = {<EOL>"<STR_LIT:name>": name,<EOL>}<EOL>if description is not github.GithubObject.NotSet:<EOL><INDENT>post_parameters["<STR_LIT:description>"] = description<EOL><DEDENT>if permission is not github.GithubObject.NotSet:<EOL><INDENT>post_parameters["<STR_LIT>"] = permission<EOL><DEDENT>if privacy is not github.GithubObject.NotSet:<EOL><INDENT>post_parameters["<STR_LIT>"] = privacy<EOL><DEDENT>headers, data = self._requester.requestJsonAndCheck(<EOL>"<STR_LIT>",<EOL>self.url,<EOL>input=post_parameters<EOL>)<EOL>self._useAttributes(data)<EOL>
:calls: `PATCH /teams/:id <http://developer.github.com/v3/orgs/teams>`_
:param name: string
:param description: string
:param permission: string
:param privacy: string
:rtype: None