diff options
author | chgnrdv <52372310+chgnrdv@users.noreply.github.com> | 2023-05-10 17:48:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-10 07:48:55 -0700 |
commit | a7a2dbbf72aceef61bfb50901bfa39bfb8d6d229 (patch) | |
tree | 259df5157848d01fbeb6de6c7aac6dcd8d9e49c4 /Lib/test/test_cmath.py | |
parent | ce8d3db25660b029fa589a2072f4daf2a8723c50 (diff) | |
download | cpython-a7a2dbbf72aceef61bfb50901bfa39bfb8d6d229.tar.gz cpython-a7a2dbbf72aceef61bfb50901bfa39bfb8d6d229.zip |
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 'Lib/test/test_cmath.py')
0 files changed, 0 insertions, 0 deletions