parameters: (name, all=None, obj=None)
docstring: Decide whether to show documentation on a variable.
docstring_summary: Decide whether to show documentation on a variable.
docstring_tokens: Decide whether to show documentation on a variable .
function: def visiblename(name, all=None, obj=None):
      """Decide whether to show documentation on a variable."""
      # Certain special names are redundant.
      _hidden_names = ('__builtins__', '__doc__', '__file__', '__path__',
                       '__module__', '__name__', '__slots__', '__package__')
      if name in _hidden_names: return 0
      # Private names are hidden, but special names are displayed.
      if name.startswith('__') and name.endswith('__'): return 1
      # Namedtuples have public fields and methods with a single leading underscore
      if name.startswith('_') and hasattr(obj, '_fields'):
          return 1
      if all is not None:
          # only document that which the programmer exported in __all__
          return name in all
      else:
          return not name.startswith('_')
function_tokens: def visiblename ( name , all = None , obj = None ) : # Certain special names are redundant. _hidden_names = ( '__builtins__' , '__doc__' , '__file__' , '__path__' , '__module__' , '__name__' , '__slots__' , '__package__' ) if name in _hidden_names : return 0 # Private names are hidden, but special names are displayed. if name . startswith ( '__' ) and name . endswith ( '__' ) : return 1 # Namedtuples have public fields and methods with a single leading underscore if name . startswith ( '_' ) and hasattr ( obj , '_fields' ) : return 1 if all is not None : # only document that which the programmer exported in __all__ return name in all else : return not name . startswith ( '_' )