0

I already know about *(iterable unpacking) and **(dictionary unpacking) for unpacking and also pass as an parameter for a function or method.

But in many cases I see someone using * without any name like this example below:

def simple_func(arg1=None, *, data=None, ...):
    ...

What this meaning?

Thanks in advance!

Ali Nazari
  • 1
  • 1
  • 5
  • 1
    Does this answer your question? [Bare asterisk in function arguments?](https://stackoverflow.com/questions/14301967/bare-asterisk-in-function-arguments) – Ali Tou Sep 21 '21 at 18:31

0 Answers0