def family_constructor(c):
family = c<EOL>if not hasattr(family, '<STR_LIT>'):<EOL><INDENT>setattr(family, '<STR_LIT>', nl_list_head(container_of=family))<EOL><DEDENT>if not hasattr(family, '<STR_LIT>'):<EOL><INDENT>setattr(family, '<STR_LIT>', nl_list_head(container_of=family))<EOL><DEDENT>nl_init_list_head(family.gf_ops)<EOL>nl_init_list_head(family.gf_mc_grps)<EOL>
https://github.com/thom311/libnl/blob/libnl3_2_25/lib/genl/family.c#L37.

    Positional arguments:
    c -- nl_object-derived class instance.