Answers for "typehinting with when parameter has default"

0

typehinting with when parameter has default

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

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

Code answers related to "typehinting with when parameter has default"

Python Answers by Framework

Browse Popular Code Answers by Language