Source: wikibot/bucket-argument

= Bucket argument
{wiki=Bucket_argument}

In the context of programming, particularly in Python, the term "bucket argument" typically refers to a parameter that can accept a variable number of arguments. This is most commonly implemented using the \`*args\` and \`**kwargs\` syntax in function definitions. Here's a brief explanation of both: 1. **\`*args\`:** This allows you to pass a variable number of non-keyword arguments to a function. Inside the function, \`args\` is treated as a tuple.