diff options
author | penguin_wwy <940375606@qq.com> | 2023-05-10 22:40:59 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-10 22:40:59 (GMT) |
commit | 373bca0cc5256dc512ffc22bdff4424f7ee8baa2 (patch) | |
tree | 2b7c9d524ad46c2ec6ff3a682f2c2b984aa85ea8 /Include/cpython/genobject.h | |
parent | 7b8d7f56b64ab4370fea77e77ea4984dd2a73979 (diff) | |
download | cpython-373bca0cc5256dc512ffc22bdff4424f7ee8baa2.zip cpython-373bca0cc5256dc512ffc22bdff4424f7ee8baa2.tar.gz cpython-373bca0cc5256dc512ffc22bdff4424f7ee8baa2.tar.bz2 |
GH-102181: Improve specialization stats for SEND (GH-102182)
Diffstat (limited to 'Include/cpython/genobject.h')
-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 18b8ce9..7856481 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 |