Sublime Forum

Making 'args' and 'kwargs' stars in Python?

#1

So I was trying to use args and kwargs in my coding but for some reason the asterisks I put before args (*args) and kwargs (**kwargs) doesn’t seem to do anything. Is there another command I need to use or are the asterisks the way to go and I’m missing something? Any advice is appreciated.

(Mac user BTW)

0 Likes

#2

If you can provide some sample code, what you expect it to do and what it’s actually doing we may be able to help you with the problem. Your post doesn’t currently have enough information to understand what problem you’ve having or what you’re trying to achieve.

0 Likes