Commit a1627b9
authored
### Rationale for this change
The docstrings here are not completely accurate. See #45003.
I looked at whether it would make more sense or be more natural for methods like these to return an empty `dict` instead of None and I think None feels better from an API design and usage perspective.
### What changes are included in this PR?
Updated docstrings to reflect actual behavior.
### Are these changes tested?
While the changes don't need testing, I did check to see if we have unit tests for the behavior that's been documented here. We do.
### Are there any user-facing changes?
Accurate docs.
* GitHub Issue: #45003
Authored-by: Bryce Mecum <petridish@gmail.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
1 parent 9016a83 commit a1627b9
1 file changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2549 | 2549 | | |
2550 | 2550 | | |
2551 | 2551 | | |
2552 | | - | |
| 2552 | + | |
| 2553 | + | |
| 2554 | + | |
| 2555 | + | |
| 2556 | + | |
2553 | 2557 | | |
2554 | 2558 | | |
2555 | 2559 | | |
| |||
2982 | 2986 | | |
2983 | 2987 | | |
2984 | 2988 | | |
2985 | | - | |
| 2989 | + | |
2986 | 2990 | | |
2987 | 2991 | | |
2988 | 2992 | | |
2989 | | - | |
| 2993 | + | |
2990 | 2994 | | |
2991 | 2995 | | |
2992 | 2996 | | |
| |||
0 commit comments