()
return partitions
Returns a list of all disk objects that are partitions.
Returns a list of all disk objects that are partitions.
Returns a list of all disk objects that are partitions .
def Partitions():
  """Returns a list of all disk objects that are partitions."""
  partitions = []
  for deviceid in PartitionDeviceIds():
    partitions.append(Disk(deviceid))
  return partitions
def Partitions ( ) : partitions = [ ] for deviceid in PartitionDeviceIds ( ) : partitions . append ( Disk ( deviceid ) ) return partitions