-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Description
Hello! Sorry, it's me again! 😅
Is there any way to implement a variable number of positional arguments, like in the following example:
from multimethod import multimethod
@multimethod
def call():
print("Hello, world!")
@multimethod
def call(name):
print(f"Hello, {name}!")
call() # Hello, world!
call("Foo") # Hello, Foo!Thank you kindly for the help, and sorry again for the multiple issues!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels