diff options
author | chgnrdv <52372310+chgnrdv@users.noreply.github.com> | 2023-05-10 14:48:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-10 14:48:55 (GMT) |
commit | a7a2dbbf72aceef61bfb50901bfa39bfb8d6d229 (patch) | |
tree | 259df5157848d01fbeb6de6c7aac6dcd8d9e49c4 /Python/bytecodes.c | |
parent | ce8d3db25660b029fa589a2072f4daf2a8723c50 (diff) | |
download | cpython-a7a2dbbf72aceef61bfb50901bfa39bfb8d6d229.zip cpython-a7a2dbbf72aceef61bfb50901bfa39bfb8d6d229.tar.gz cpython-a7a2dbbf72aceef61bfb50901bfa39bfb8d6d229.tar.bz2 |
gh-104010: Separate and improve docs for `typing.get_origin` and `typing.get_args` (#104013)
* 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
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Diffstat (limited to 'Python/bytecodes.c')
0 files changed, 0 insertions, 0 deletions