Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
cwharris committed Nov 2, 2023
1 parent 1591e3d commit c2942c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/mrc/_pymrc/include/pymrc/coro.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,8 @@ class PYBIND11_EXPORT PyTaskToCppAwaitable
{
if (not asyncio.attr("iscoroutine")(m_task).cast<bool>())
{
throw std::runtime_error(MRC_CONCAT_STR("PyTaskToCppAwaitable expected task or coroutine but got " << pybind11::repr(m_task).cast<std::string>()));
throw std::runtime_error(MRC_CONCAT_STR("PyTaskToCppAwaitable expected task or coroutine but got "
<< pybind11::repr(m_task).cast<std::string>()));
}

m_task = asyncio.attr("create_task")(m_task);
Expand Down

0 comments on commit c2942c2

Please sign in to comment.