pdoc/doc.py
def decorators(self) -> list[str]:
        """A list of all decorators the class is decorated with."""
        decorators = []
        for t in doc_ast.parse(self.obj).decorator_list:
            decorators.append(f"@{doc_ast.unparse(t)}")
        return decorators
A list of all decorators the class is decorated with.
A list of all decorators the class is decorated with.
A list of all decorators the class is decorated with .
def decorators(self) -> list[str]:
        decorators = []
        for t in doc_ast.parse(self.obj).decorator_list:
            decorators.append(f"@{doc_ast.unparse(t)}")
        return decorators
def decorators ( self ) -> list [ str ] : decorators = [ ] for t in doc_ast . parse ( self . obj ) . decorator_list : decorators . append ( f"@{doc_ast.unparse(t)}" ) return decorators
A list of all decorators the class is decorated with.
A list of all decorators the class is decorated with .
"""A list of all decorators the class is decorated with."""
self