Files
typeshed/stubs/networkx
Niklas Rosenstein 7a2807af4e Fix networkx DiDegreeView.__call__() can return int (#12472)
Fix networkx `DiDegreeView.__call__()`

`DiDegreeView.__call__()` can return an integer if a single node is specified, as is also documented in the docstrings of the method:

89718e0514/networkx/classes/digraph.py (L1198-L1199)

Implementation:

89718e0514/networkx/classes/reportviews.py (L436-L437)
2024-09-06 15:07:25 -07:00
..