diff options
| author | penguin_wwy <940375606@qq.com> | 2023-05-11 06:40:59 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-10 22:40:59 +0000 |
| commit | 373bca0cc5256dc512ffc22bdff4424f7ee8baa2 (patch) | |
| tree | 2b7c9d524ad46c2ec6ff3a682f2c2b984aa85ea8 /Include/cpython | |
| parent | 7b8d7f56b64ab4370fea77e77ea4984dd2a73979 (diff) | |
| download | cpython-git-373bca0cc5256dc512ffc22bdff4424f7ee8baa2.tar.gz | |
GH-102181: Improve specialization stats for SEND (GH-102182)
Diffstat (limited to 'Include/cpython')
| -rw-r--r-- | Include/cpython/genobject.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/cpython/genobject.h b/Include/cpython/genobject.h index 18b8ce913e..7856481b5d 100644 --- a/Include/cpython/genobject.h +++ b/Include/cpython/genobject.h @@ -77,6 +77,8 @@ PyAPI_FUNC(PyObject *) PyAsyncGen_New(PyFrameObject *, #define PyAsyncGen_CheckExact(op) Py_IS_TYPE((op), &PyAsyncGen_Type) +#define PyAsyncGenASend_CheckExact(op) Py_IS_TYPE((op), &_PyAsyncGenASend_Type) + #undef _PyGenObject_HEAD |
