File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1240,7 +1240,7 @@ class PyGraph(Generic[_S, _T]):
12401240 / ,
12411241 weight_combo_fn : Callable [[_T , _T ], _T ] | None = ...,
12421242 ) -> int : ...
1243- def copy (self ) -> PyGraph [ _S , _T ] : ...
1243+ def copy (self ) -> Self : ...
12441244 def degree (self , node : int , / ) -> int : ...
12451245 def edge_index_map (self ) -> EdgeIndexMap [_T ]: ...
12461246 def edge_indices (self ) -> EdgeIndices : ...
@@ -1398,7 +1398,7 @@ class PyDiGraph(Generic[_S, _T]):
13981398 check_cycle : bool | None = ...,
13991399 weight_combo_fn : Callable [[_T , _T ], _T ] | None = ...,
14001400 ) -> int : ...
1401- def copy (self ) -> PyDiGraph [ _S , _T ] : ...
1401+ def copy (self ) -> Self : ...
14021402 def edge_index_map (self ) -> EdgeIndexMap [_T ]: ...
14031403 def edge_indices (self ) -> EdgeIndices : ...
14041404 def edge_indices_from_endpoints (self , node_a : int , node_b : int ) -> EdgeIndices : ...
You can’t perform that action at this time.
0 commit comments