sphinx/ext/autodoc/type_comment.py
def not_suppressed(argtypes: List[ast.AST] = []) -> bool:
    """Check given *argtypes* is suppressed type_comment or not."""
    if len(argtypes) == 0:  # no argtypees
        return False
    elif len(argtypes) == 1 and ast_unparse(argtypes[0]) == "...":  # suppressed
        # Note: To support multiple versions of python, this uses ``ast_unparse()`` for
        # comparison with Ellipsis.  Since 3.8, ast.Constant has been used to represent
        # Ellipsis node instead of ast.Ellipsis.
        return False
    else:  # not suppressed
        return True
Check given *argtypes* is suppressed type_comment or not.
Check given *argtypes* is suppressed type_comment or not.
Check given * argtypes * is suppressed type_comment or not .
def not_suppressed(argtypes: List[ast.AST] = []) -> bool:
    if len(argtypes) == 0:  
        return False
    elif len(argtypes) == 1 and ast_unparse(argtypes[0]) == "...":  
        return False
    else:  
        return True
def not_suppressed ( argtypes : List [ ast . AST ] = [ ] ) -> bool : if len ( argtypes ) == 0 : return False elif len ( argtypes ) == 1 and ast_unparse ( argtypes [ 0 ] ) == "..." : return False else : return True
Check given *argtypes* is suppressed type_comment or not.
Check given * argtypes * is suppressed type_comment or not .
"""Check given *argtypes* is suppressed type_comment or not.""" # no argtypees # suppressed # Note: To support multiple versions of python, this uses ``ast_unparse()`` for # comparison with Ellipsis.  Since 3.8, ast.Constant has been used to represent # Ellipsis node instead of ast.Ellipsis. # not suppressed
argtypes
List[ast.AST]