pylint/pyreverse/utils.py
def get_visibility(name):
    """return the visibility from a name: public, protected, private or special
    """
    if SPECIAL.match(name):
        visibility = "special"
    elif PRIVATE.match(name):
        visibility = "private"
    elif PROTECTED.match(name):
        visibility = "protected"

    else:
        visibility = "public"
    return visibility
def get_visibility(name):
    """return the visibility from a name: public, protected, private or special
    """
    if SPECIAL.match(name):
        visibility = "special"
    elif PRIVATE.match(name):
        visibility = "private"
    elif PROTECTED.match(name):
        visibility = "protected"

    else:
        visibility = "public"
    return visibility
def get_visibility ( name ) : if SPECIAL . match ( name ) : visibility = "special" elif PRIVATE . match ( name ) : visibility = "private" elif PROTECTED . match ( name ) : visibility = "protected" else : visibility = "public" return visibility
return the visibility from a name: public, protected, private or special
return the visibility from a name : public protected private or special