|
| 1 | +digraph G { |
| 2 | + graph [ |
| 3 | + fontname="svg" |
| 4 | + fontsize=10.0 |
| 5 | + layout="dot" |
| 6 | + ranksep=0.25 |
| 7 | + ] |
| 8 | + node [ |
| 9 | + fontname="Courier" |
| 10 | + fontsize=10.0 |
| 11 | + ] |
| 12 | + edge [ |
| 13 | + fontname="Times-Italic" |
| 14 | + fontsize=10.0 |
| 15 | + ] |
| 16 | + |
| 17 | + "start" [fontname="Times-Italic" shape=plain label=< start > style=invis] |
| 18 | + "tp_alloc" [href="typeobj.html#c.PyTypeObject.tp_alloc" target="_top"] |
| 19 | + "tp_new" [href="typeobj.html#c.PyTypeObject.tp_new" target="_top"] |
| 20 | + "tp_init" [href="typeobj.html#c.PyTypeObject.tp_init" target="_top"] |
| 21 | + { |
| 22 | + rank="same" |
| 23 | + "alive" [ |
| 24 | + fontname="Times-Italic" |
| 25 | + label=<alive, ref count > 0> |
| 26 | + shape=box |
| 27 | + ] |
| 28 | + "tp_traverse" [ |
| 29 | + href="typeobj.html#c.PyTypeObject.tp_traverse" |
| 30 | + shape=octagon |
| 31 | + target="_top" |
| 32 | + ] |
| 33 | + } |
| 34 | + "tp_finalize" [ |
| 35 | + href="typeobj.html#c.PyTypeObject.tp_finalize" |
| 36 | + shape=octagon |
| 37 | + target="_top" |
| 38 | + ] |
| 39 | + "tp_clear" [ |
| 40 | + href="typeobj.html#c.PyTypeObject.tp_clear" |
| 41 | + shape=octagon |
| 42 | + target="_top" |
| 43 | + ] |
| 44 | + "ref0" [ |
| 45 | + fontname="Times-Italic" |
| 46 | + label=<ref count == 0> |
| 47 | + ordering="in" |
| 48 | + shape=box |
| 49 | + ] |
| 50 | + "tp_dealloc" [href="typeobj.html#c.PyTypeObject.tp_dealloc" target="_top"] |
| 51 | + "tp_free" [href="typeobj.html#c.PyTypeObject.tp_free" target="_top"] |
| 52 | + |
| 53 | + "start" -> "tp_alloc" |
| 54 | + "tp_alloc" -> "tp_new" |
| 55 | + "tp_new" -> "tp_init" |
| 56 | + "tp_init" -> "alive" |
| 57 | + "tp_traverse" -> "alive" |
| 58 | + "alive" -> "tp_traverse" |
| 59 | + "alive" -> "tp_clear" [label=< cyclic <br/>isolate >] |
| 60 | + "alive" -> "tp_finalize" [ |
| 61 | + dir="back" |
| 62 | + label=< resurrected > |
| 63 | + ] |
| 64 | + "alive" -> "tp_finalize" [label=< cyclic <br/>isolate >] |
| 65 | + "tp_finalize" -> "tp_clear" |
| 66 | + "tp_finalize" -> "ref0" |
| 67 | + "tp_clear" -> "ref0" |
| 68 | + "tp_clear" -> "tp_dealloc" [ |
| 69 | + dir="back" |
| 70 | + label=< optional<br/>direct call > |
| 71 | + ] |
| 72 | + "alive" -> "ref0" |
| 73 | + "ref0" -> "tp_dealloc" |
| 74 | + "tp_finalize" -> "tp_dealloc" [ |
| 75 | + dir="back" |
| 76 | + href="lifecycle.html#c.PyObject_CallFinalizerFromDealloc" |
| 77 | + label=< |
| 78 | + <table border="0" cellborder="0" cellpadding="0" cellspacing="0"> |
| 79 | + <tr> |
| 80 | + <td rowspan="4"> </td> |
| 81 | + <td align="left">optional call to</td> |
| 82 | + <td rowspan="4"> </td> |
| 83 | + </tr> |
| 84 | + <tr> |
| 85 | + <td align="left"><font face="Courier">PyObject_Call</font></td> |
| 86 | + </tr> |
| 87 | + <tr> |
| 88 | + <td align="left"><font face="Courier">FinalizerFrom</font></td> |
| 89 | + </tr> |
| 90 | + <tr><td align="left"><font face="Courier">Dealloc</font></td></tr> |
| 91 | + </table> |
| 92 | + > |
| 93 | + target="_top" |
| 94 | + ] |
| 95 | + "tp_dealloc" -> "tp_free" [label=< directly calls >] |
| 96 | +} |
0 commit comments