Skip to content

Commit ac61fd9

Browse files
committed
Document None in os.rst
1 parent 52d7ef2 commit ac61fd9

File tree

1 file changed

+29
-2
lines changed

1 file changed

+29
-2
lines changed

Doc/library/os.rst

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3451,7 +3451,10 @@ features:
34513451

34523452
.. attribute:: stx_mnt_id
34533453

3454-
Mount ID.
3454+
Mount identifier.
3455+
3456+
Equal to ``None`` if :data:`STATX_MNT_ID` is missing from
3457+
:attr:`~os.statx_result.stx_mask`.
34553458

34563459
.. availability:: Linux >= 4.11 with glibc >= 2.28 and build-time kernel
34573460
userspace API headers >= 5.8.
@@ -3460,19 +3463,28 @@ features:
34603463

34613464
Direct I/O memory buffer alignment requirement.
34623465

3466+
Equal to ``None`` if :data:`STATX_DIOALIGN` is missing from
3467+
:attr:`~os.statx_result.stx_mask`.
3468+
34633469
.. availability:: Linux >= 4.11 with glibc >= 2.28 and build-time kernel
34643470
userspace API headers >= 6.1.
34653471

34663472
.. attribute:: stx_dio_offset_align
34673473

34683474
Direct I/O file offset alignment requirement.
34693475

3476+
Equal to ``None`` if :data:`STATX_DIOALIGN` is missing from
3477+
:attr:`~os.statx_result.stx_mask`.
3478+
34703479
.. availability:: Linux >= 4.11 with glibc >= 2.28 and build-time kernel
34713480
userspace API headers >= 6.1.
34723481

34733482
.. attribute:: stx_subvol
34743483

3475-
Subvolume ID.
3484+
Subvolume identifier.
3485+
3486+
Equal to ``None`` if :data:`STATX_SUBVOL` is missing from
3487+
:attr:`~os.statx_result.stx_mask`.
34763488

34773489
.. availability:: Linux >= 4.11 with glibc >= 2.28 and build-time kernel
34783490
userspace API headers >= 6.10.
@@ -3481,34 +3493,49 @@ features:
34813493

34823494
Minimum size for direct I/O with torn-write protection.
34833495

3496+
Equal to ``None`` if :data:`STATX_WRITE_ATOMIC` is missing from
3497+
:attr:`~os.statx_result.stx_mask`.
3498+
34843499
.. availability:: Linux >= 4.11 with glibc >= 2.28 and build-time kernel
34853500
userspace API headers >= 6.11.
34863501

34873502
.. attribute:: stx_atomic_write_unit_max
34883503

34893504
Maximum size for direct I/O with torn-write protection.
34903505

3506+
Equal to ``None`` if :data:`STATX_WRITE_ATOMIC` is missing from
3507+
:attr:`~os.statx_result.stx_mask`.
3508+
34913509
.. availability:: Linux >= 4.11 with glibc >= 2.28 and build-time kernel
34923510
userspace API headers >= 6.11.
34933511

34943512
.. attribute:: stx_atomic_write_unit_max_opt
34953513

34963514
Maximum optimized size for direct I/O with torn-write protection.
34973515

3516+
Equal to ``None`` if :data:`STATX_WRITE_ATOMIC` is missing from
3517+
:attr:`~os.statx_result.stx_mask`.
3518+
34983519
.. availability:: Linux >= 4.11 with glibc >= 2.28 and build-time kernel
34993520
userspace API headers >= 6.16.
35003521

35013522
.. attribute:: stx_atomic_write_segments_max
35023523

35033524
Maximum iovecs for direct I/O with torn-write protection.
35043525

3526+
Equal to ``None`` if :data:`STATX_WRITE_ATOMIC` is missing from
3527+
:attr:`~os.statx_result.stx_mask`.
3528+
35053529
.. availability:: Linux >= 4.11 with glibc >= 2.28 and build-time kernel
35063530
userspace API headers >= 6.11.
35073531

35083532
.. attribute:: stx_dio_read_offset_align
35093533

35103534
Direct I/O file offset alignment requirement for reads.
35113535

3536+
Equal to ``None`` if :data:`STATX_DIO_READ_ALIGN` is missing from
3537+
:attr:`~os.statx_result.stx_mask`.
3538+
35123539
.. availability:: Linux >= 4.11 with glibc >= 2.28 and build-time kernel
35133540
userspace API headers >= 6.14.
35143541

0 commit comments

Comments
 (0)