':calls: `PATCH /teams/:id <http://developer.github.com/v3/orgs/teams>`_
:param name: string
:param permission: string
:rtype: None'

def edit(self, name, permission=github.GithubObject.NotSet):

    assert isinstance(name, (str, unicode)), name
    assert ((permission is github.GithubObject.NotSet) or isinstance(permission, (str, unicode))), permission
    post_parameters = {'name': name}
    if (permission is not github.GithubObject.NotSet):
        post_parameters['permission'] = permission
    (headers, data) = self._requester.requestJsonAndCheck('PATCH', self.url, input=post_parameters)
    self._useAttributes(data)
