pdoc/doc.py
def annotation_str(self) -> str:
        """The variable's type annotation as a pretty-printed str."""
        if self.annotation is not empty:
            return f": {formatannotation(self.annotation)}"
        else:
            return ""
The variable's type annotation as a pretty-printed str.
The variable's type annotation as a pretty-printed str.
The variable ' s type annotation as a pretty - printed str .
def annotation_str(self) -> str:
        if self.annotation is not empty:
            return f": {formatannotation(self.annotation)}"
        else:
            return ""
def annotation_str ( self ) -> str : if self . annotation is not empty : return f": {formatannotation(self.annotation)}" else : return ""
The variable's type annotation as a pretty-printed str.
The variable ' s type annotation as a pretty - printed str .
"""The variable's type annotation as a pretty-printed str."""
self