diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-05-10 14:49:49 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-10 14:49:49 (GMT) |
| commit | a8e902d2c2e90255c838bd99e833cef2c674c1f0 (patch) | |
| tree | 9e045f107fef31b6f957b8f4f9724bf6aa6212da /Python/specialize.c | |
| parent | 03abac239cbd94962e44a5ae06ff583de6917f80 (diff) | |
| download | cpython-a8e902d2c2e90255c838bd99e833cef2c674c1f0.zip cpython-a8e902d2c2e90255c838bd99e833cef2c674c1f0.tar.gz cpython-a8e902d2c2e90255c838bd99e833cef2c674c1f0.tar.bz2 | |
[3.11] gh-104010: Separate and improve docs for `typing.get_origin` and `typing.get_args` (GH-104013) (#104359)
* 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 a7a2dbbf72aceef61bfb50901bfa39bfb8d6d229)
Co-authored-by: chgnrdv <52372310+chgnrdv@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Diffstat (limited to 'Python/specialize.c')
0 files changed, 0 insertions, 0 deletions
