diff options
author | Jose M. Guisado <jguisado@soleta.eu> | 2022-10-07 10:36:54 +0200 |
---|---|---|
committer | Jose M. Guisado <jguisado@soleta.eu> | 2022-12-15 12:27:22 +0100 |
commit | 46ad17eaa7c04b846fa359f9edc48572ab8bc31e (patch) | |
tree | 84ff3b8b5a2774e60d777419167f6933324a8a8c /MANIFEST.in | |
parent | bd2703c54ea42da625b7e521297f9c4e493d86bb (diff) |
partition: add partno setter
Allows changing in-memory partno field of a Partition instance:
>>> import fdisk
>>> pa = fdisk.Partition()
>>> pa.partno = 3
>>> pa
<libfdisk.Partition object at 0x7f4603a38f30, partno=3>
If partno is unset repr shows 'None':
>>> import fdisk
>>> pa = fdisk.Partition()
>>> pa
<libfdisk.Partition object at 0x7f86c4338f30, partno=None>
Diffstat (limited to 'MANIFEST.in')
0 files changed, 0 insertions, 0 deletions