def nl_socket_drop_membership(sk, group):
return nl_socket_drop_memberships(sk, group, <NUM_LIT:0>)<EOL>
Leave a group.

    https://github.com/thom311/libnl/blob/libnl3_2_25/lib/socket.c#L496

    Positional arguments:
    sk -- Netlink socket (nl_sock class instance).
    group -- group identifier (integer).

    Returns:
    0 on success or a negative error code.