parameters: (all=False)
return_statement: return _psplatform.disk_partitions(all)
docstring: Return mounted partitions as a list of
      (device, mountpoint, fstype, opts) namedtuple.
      'opts' field is a raw string separated by commas indicating mount
      options which may vary depending on the platform.
  
      If "all" parameter is False return physical devices only and ignore
      all others.
docstring_summary: Return mounted partitions as a list of
      (device, mountpoint, fstype, opts) namedtuple.
      'opts' field is a raw string separated by commas indicating mount
      options which may vary depending on the platform.
docstring_tokens: Return mounted partitions as a list of ( device mountpoint fstype opts ) namedtuple . opts field is a raw string separated by commas indicating mount options which may vary depending on the platform .
function: def disk_partitions(all=False):
      """Return mounted partitions as a list of
      (device, mountpoint, fstype, opts) namedtuple.
      'opts' field is a raw string separated by commas indicating mount
      options which may vary depending on the platform.
  
      If "all" parameter is False return physical devices only and ignore
      all others.
      """
      return _psplatform.disk_partitions(all)
function_tokens: def disk_partitions ( all = False ) : return _psplatform . disk_partitions ( all )