diff options
author | Batuhan Taskaya <batuhanosmantaskaya@gmail.com> | 2020-11-11 07:14:12 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-11 07:14:12 (GMT) |
commit | fa476fe13255d0360f18528e864540d927560f66 (patch) | |
tree | db892dd4a66612b9ab5b7dd41d3bed49b918f66f /Doc/library | |
parent | 95ce7cd0a64e7f4739af2d1c158ef69b6980f12a (diff) | |
download | cpython-fa476fe13255d0360f18528e864540d927560f66.zip cpython-fa476fe13255d0360f18528e864540d927560f66.tar.gz cpython-fa476fe13255d0360f18528e864540d927560f66.tar.bz2 |
bpo-39411: pyclbr rewrite on AST (#18103)
- Rewrite pyclbr using an AST processor
- Add is_async to the pyclbr.Function
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/pyclbr.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/library/pyclbr.rst b/Doc/library/pyclbr.rst index 36e83e8..1c40ba4 100644 --- a/Doc/library/pyclbr.rst +++ b/Doc/library/pyclbr.rst @@ -97,6 +97,13 @@ statements. They have the following attributes: .. versionadded:: 3.7 +.. attribute:: Function.is_async + + ``True`` for functions that are defined with the ``async`` prefix, ``False`` otherwise. + + .. versionadded:: 3.10 + + .. _pyclbr-class-objects: Class Objects |