Logo
Explore Help
Sign In
VimPlug/typeshed
Watch 1
Star 0
Fork 0
mirror of https://github.com/davidhalter/typeshed.git synced 2026-08-27 18:19:54 +08:00
Code Issues Actions Packages Projects Releases Wiki Activity
Files
eaeb56ffcfcccbf46287ca465fdcee431a99a815
typeshed/stubs/networkx
T
History
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:

https://github.com/networkx/networkx/blob/89718e0514bded93ded5b00aed755a4474c1dc6f/networkx/classes/digraph.py#L1198-L1199

Implementation:

https://github.com/networkx/networkx/blob/89718e0514bded93ded5b00aed755a4474c1dc6f/networkx/classes/reportviews.py#L436-L437
2024-09-06 15:07:25 -07:00
..
@tests
networkx: Fix stubtest errors and remove numpy version pin (#12477)
2024-08-10 15:46:51 -07:00
networkx
Fix networkx DiDegreeView.__call__() can return int (#12472)
2024-09-06 15:07:25 -07:00
METADATA.toml
Pin numpy in various stubs (#12554)
2024-08-19 15:38:23 +03:00
Powered by Gitea Version: 1.27.2 Page: 22ms Template: 2ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API