Skip to content

请简要描述装饰器的作用 #92

@Sogrey

Description

@Sogrey

装饰器是一个函数

装饰器本身就是一个函数,主要用于为函数添加额外功能。如插入日志、性能测试等。

如何自定义装饰器 #93

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions