class_docstr: Dyad census of a graph.
  
  This is a pretty simple class - basically it is a tuple, but it allows
  the user to refer to its individual items by the names C{mutual} (or
  C{mut}), C{asymmetric} (or C{asy} or C{asym} or C{asymm}) and C{null}.
  
  Examples:
  
    >>> from igraph import Graph
    >>> g=Graph.Erdos_Renyi(100, 0.2, directed=True)
    >>> dc=g.dyad_census()
    >>> print(dc.mutual)            #doctest:+SKIP
    179
    >>> print(dc["asym"])           #doctest:+SKIP
    1609
    >>> print(tuple(dc), list(dc))  #doctest:+SKIP
    (179, 1609, 3162) [179, 1609, 3162]
    >>> print(sorted(dc.as_dict().items()))  #doctest:+ELLIPSIS
    [('asymmetric', ...), ('mutual', ...), ('null', ...)]
class_docstr_tok: ["Dyad","census","of","a","graph",".","This","is","a","pretty","simple","class","-","basically","it","is","a","tuple",",","but","it","allows","the","user","to","refer","to","its","individual","items","by","the","names","C","{","mutual","}","(","or","C","{","mut","}",")",",","C","{","asymmetric","}","(","or","C","{","asy","}","or","C","{","asym","}","or","C","{","asymm","}",")","and","C","{","null","}",".","Examples",":",">",">",">","from","igraph","import","Graph",">",">",">","g=Graph.Erdos_Renyi","(","100",",","0.2",",","directed=True",")",">",">",">","dc=g.dyad_census","(",")",">",">",">","print","(","dc.mutual",")","#","doctest",":","+SKIP","179",">",">",">","print","(","dc","[","``","asym","''","]",")","#","doctest",":","+SKIP","1609",">",">",">","print","(","tuple","(","dc",")",",","list","(","dc",")",")","#","doctest",":","+SKIP","(","179",",","1609",",","3162",")","[","179",",","1609",",","3162","]",">",">",">","print","(","sorted","(","dc.as_dict","(",")",".items","(",")",")",")","#","doctest",":","+ELLIPSIS","[","(","'asymmetric","'",",","...",")",",","(","'mutual","'",",","...",")",",","(","'null","'",",","...",")","]"]
code: def __repr__(self):
      return "DyadCensus((%d, %d, %d))" % self
  
label_desc: Use image node_id 3 for calling the DyadCensus obj's underlying member method code with example usage: obj.__repr__() and returns: unknown