Commit 8555c1a
pythongh-104010: Separate and improve docs for
* separate documentation and examples for both functions
* add examples demonstrating behaviour with unsupported types
* document return value of `get_origin` for `ParamSpecArgs` and `ParamSpecKwargs` instances
(cherry picked from commit a7a2dbb)
Co-authored-by: chgnrdv <52372310+chgnrdv@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>typing.get_origin and typing.get_args (pythonGH-104013)1 parent 03abac2 commit 8555c1a
1 file changed
Lines changed: 22 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2790 | 2790 | | |
2791 | 2791 | | |
2792 | 2792 | | |
2793 | | - | |
2794 | 2793 | | |
2795 | 2794 | | |
2796 | | - | |
2797 | | - | |
2798 | | - | |
2799 | | - | |
| 2795 | + | |
| 2796 | + | |
2800 | 2797 | | |
| 2798 | + | |
| 2799 | + | |
| 2800 | + | |
| 2801 | + | |
| 2802 | + | |
| 2803 | + | |
| 2804 | + | |
| 2805 | + | |
| 2806 | + | |
| 2807 | + | |
| 2808 | + | |
| 2809 | + | |
| 2810 | + | |
| 2811 | + | |
| 2812 | + | |
| 2813 | + | |
| 2814 | + | |
| 2815 | + | |
2801 | 2816 | | |
2802 | 2817 | | |
2803 | 2818 | | |
2804 | | - | |
| 2819 | + | |
2805 | 2820 | | |
2806 | 2821 | | |
2807 | | - | |
| 2822 | + | |
2808 | 2823 | | |
2809 | | - | |
2810 | | - | |
2811 | 2824 | | |
2812 | 2825 | | |
2813 | 2826 | | |
| |||
0 commit comments