':calls: `PUT /teams/:id/memberships/:user <http://developer.github.com/v3/orgs/teams>`_
:param member: :class:`github.Nameduser.NamedUser`
:rtype: None'

def add_membership(self, member):

    assert isinstance(member, github.NamedUser.NamedUser), member
    (headers, data) = self._requester.requestjsonandcheck('PUT', ((self.url + '/memberships/') + member._identity))
