misc_py313 API documentation

# misc_py313

View Source

     1from warnings import deprecated
     2
     3
     4class MyDict(dict):
     5    pass
     6
     7
     8@deprecated("Do not use this anymore")
     9def deprecated_func():
    10    pass

class MyDict(builtins.dict): View Source

    5class MyDict(dict):
    6    pass

@deprecated('Do not use this anymore')
def deprecated_func(): View Source

     9@deprecated("Do not use this anymore")
    10def deprecated_func():
    11    pass