Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix style for _PyAwaitable_SetAwaiter
  • Loading branch information
mpage committed Apr 28, 2023
commit 669fe718e16bd689e91f7542aefeca7102605ff9
3 changes: 2 additions & 1 deletion Include/cpython/genobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
extern "C" {
#endif

static inline int _PyAwaitable_SetAwaiter(PyObject *receiver, PyObject *awaiter) {
static inline int
_PyAwaitable_SetAwaiter(PyObject *receiver, PyObject *awaiter) {
PyTypeObject *ty = Py_TYPE(receiver);
PyAsyncMethods *am = (PyAsyncMethods *) ty->tp_as_async;
if ((am != NULL) && (am->am_set_awaiter != NULL)) {
Expand Down