Skip to content

Commit fbb3fb5

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 199ae78 commit fbb3fb5

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

mypyc/codegen/emitmodule.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -921,9 +921,13 @@ def emit_module_methods(
921921
flags.append("METH_COROUTINE")
922922
emitter.emit_line(
923923
(
924-
'{{"{name}", (PyCFunction){prefix}{cname}, {flags}, '
925-
"NULL /* docstring */}},"
926-
).format(name=name, cname=fn.cname(emitter.names), prefix=PREFIX, flags=" | ".join(flags))
924+
'{{"{name}", (PyCFunction){prefix}{cname}, {flags}, ' "NULL /* docstring */}},"
925+
).format(
926+
name=name,
927+
cname=fn.cname(emitter.names),
928+
prefix=PREFIX,
929+
flags=" | ".join(flags),
930+
)
927931
)
928932
emitter.emit_line("{NULL, NULL, 0, NULL}")
929933
emitter.emit_line("};")

0 commit comments

Comments
 (0)