Queer European MD passionate about IT
Explorar o código

Dummy coroutine

Davte %!s(int64=5) %!d(string=hai) anos
pai
achega
3decb01165
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      davtelepot/utilities.py

+ 5 - 0
davtelepot/utilities.py

@@ -1518,3 +1518,8 @@ def make_inline_query_answer(answer):
     if type(answer) is dict:
         answer = [answer]
     return answer
+
+
+async def dummy_coroutine(*args, **kwargs):
+    """Accept everthing as argument and do nothing."""
+    return