Jz`f%cs^SSKJr SS/rSrSr"SS5r"SS\5r"S S5rg ) ) GenericAliasTopologicalSorter CycleErrorics\rSrSrSrSrSrg) _NodeInfoi node npredecessors successorscs,XlSUl/UlgNrr)selfr !/usr/lib64/python3.13/graphlib.py__init__Z_NodeInfo.__init__ s )r rrN)__name__ __module__ __qualname____firstlineno__Z __slots__r__static_attributes__rr rr s 5I rrcs\rSrSrSrg)rirN)rrrrrrrr rrs rcsd\rSrSrSSjrSrSrSrSrSr S r S r S r S r \"\5rS rg)ri)Ncs0UlSUlSUlSUlUb-UR 5Hup#UR "U/UQ76 M ggr ) _node2info _ready_nodes _npassedout _nfinishedZitemsadd)r Zgraphr predecessors r rZTopologicalSorter.__init__,sT   &+kkm ."- - . rcsvURRU5=nc[U5=URU'nU$N)rgetr)r rresult r _get_nodeinfoZTopologicalSorter._get_nodeinfo6s8oo))$/ /F 8-6t_ ? ?!OO224 18LFAFF   " 3e< <  s B BcsURc [S5e[UR5nURnUHn[X#lM URR 5 U=R[U5- slU$Nprepare() must be called first) rr"Ztupler _NODE_OUTrZclearrr#)r rn2irrr get_readyZTopologicalSorter.get_readyls~    $=> >t(()oo 0D&/CI # 0 ! CK' rcsURc [S5eURUR:=(d [ UR5$r()rr"rrZboolr  r is_activeZTopologicalSorter.is_activesA    $=> >!1!11LT$:K:K5LLrcs"UR5$r)r/r-r.r __bool__ZTopologicalSorter.__bool__s~~rcs$URc [S5eURnUHnURU5=nc[SU<S35eURnU[ :wa0US:a[SU<S35eU[ :Xa[SU<S35e[ UlURHInX&nU=RS-slURS:XdM.URRU5 MK U=RS- sl M g)Nr)znode z was not added using add()rz% was not passed out (still not ready)z was already marked donei) rr"rrrr* _NODE_DONEr r$r)r Znodesr+rr%ZstatZ successorZsuccessor_infos r doneZTopologicalSorter.dones    $=> >oo !D GGDM)2 50J!KLL))Dy 19$x'LMZ'$uTH4L%MNN &0H "&00 8 !$,,1,!//14%%,,Y7  8 OOq O9 !rcsURn/n/n[5n0nUHnXd;aM Xd;aXe;a X%USU/-s $O_URU5 UR[ XR 5R 5 [U5XV'URU5 U(a US"5nOMM g![a# XRR5 UR5 Of=fU(aMLNA)Nr) rZsetrr$Ziterr Z__next__r#Z StopIterationZpop)r r+ZstackZitstackZseenZ node2stackirs r r&ZTopologicalSorter._find_cyclesoou  D|<*$%6%89TFBB+HHTNNN4 (<(<#=#F#FG(+E K%LL&&&r{} /  8 )&' 4 & es) B;;*C('C(c#s# UR5 UR5(aAUR5nUShvN UR"U6 UR5(aM@ggN,7fr)r'r/r,r2)r Z node_groupr r static_orderZTopologicalSorter.static_ordersP nn)J! ! ! IIz "nn !s;A,A*(A,(A,)r2rrrrrr)rrrrrr!rr'r,r/r0r2r&r3Z classmethodrZ__class_getitem__rrrr rr)sD. .6=,4 M -!^#J #$L1rN) ZtypesrZ__all__r*r1rr"rrrrr r4s>  -   "    Q2Q2r