diff --git a/stubs/networkx/classes/digraph.pyi b/stubs/networkx/classes/digraph.pyi index 54947ac2..20216dbf 100644 --- a/stubs/networkx/classes/digraph.pyi +++ b/stubs/networkx/classes/digraph.pyi @@ -26,6 +26,7 @@ class _CachedPropertyResetterPred: class DiGraph(Graph): + graph = ... _adj = ... # type: ignore _succ = ... # type: ignore _pred = ... diff --git a/stubs/networkx/classes/graph.pyi b/stubs/networkx/classes/graph.pyi index 7d8b9d61..bc0db14a 100644 --- a/stubs/networkx/classes/graph.pyi +++ b/stubs/networkx/classes/graph.pyi @@ -23,6 +23,7 @@ class _CachedPropertyResetterNode: class Graph: + graph = ... _adj = ... _node = ...