Answers for "default argument with type hint python"

0

default argument with type hint python

def foo(opts: dict = {}):
    pass

print(foo.__annotations__)
Posted by: Guest on February-17-2021

Code answers related to "default argument with type hint python"

Python Answers by Framework

Browse Popular Code Answers by Language