mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
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)