0

I found that code in some work project:

async def process(self, *_, **__):
  await process_something()

Can you share some link or some info about this syntax in python?

Brian
  • 4,518
  • 4
  • 16
  • 34
Vasily
  • 186
  • 9
  • 6
    I'm thinking that this is being used like *args and **kwargs, but the underscores are used to indicate that they're going to be unused, as specified in [this article](https://towardsdatascience.com/5-different-meanings-of-underscore-in-python-3fafa6cd0379). – Random Davis Oct 29 '21 at 17:12

0 Answers0