@@ -216,8 +216,8 @@ process and user.
216
216
217
217
You can delete items in this mapping to unset environment variables.
218
218
:func: `unsetenv ` will be called automatically when an item is deleted from
219
- :data: `os.environ `, and when one of the:meth: `pop ` or:meth: ` clear ` methods is
220
- called.
219
+ :data: `os.environ `, and when one of the:meth: `~dict. pop ` or
220
+ :meth: ` ~dict.clear ` methods is called.
221
221
222
222
..seealso ::
223
223
@@ -430,8 +430,8 @@ process and user.
430
430
associated with the effective user id of the process; the group access
431
431
list may change over the lifetime of the process, it is not affected by
432
432
calls to:func: `setgroups `, and its length is not limited to 16. The
433
- deployment target value, :const: ` MACOSX_DEPLOYMENT_TARGET `, can be
434
- obtained with :func: `sysconfig.get_config_var `.
433
+ deployment target value can be obtained with
434
+ :func: `sysconfig.get_config_var('MACOSX_DEPLOYMENT_TARGET') <sysconfig.get_config_var> `.
435
435
436
436
437
437
..function ::getlogin()
@@ -2606,10 +2606,10 @@ features:
2606
2606
2607
2607
Create a filesystem node (file, device special file or named pipe) named
2608
2608
*path *. *mode * specifies both the permissions to use and the type of node
2609
- to be created, being combined (bitwise OR) with one of`` stat.S_IFREG ` `,
2610
- `` stat.S_IFCHR ``, `` stat.S_IFBLK `` , and`` stat.S_IFIFO `` (those constants are
2611
- available in :mod : `stat `). For `` stat. S_IFCHR `` and`` stat.S_IFBLK ``,
2612
- * device * defines the newly created device special file (probably using
2609
+ to be created, being combined (bitwise OR) with one of:const: ` stat.S_IFREG `,
2610
+ :const: ` stat.S_IFCHR `, :const: ` stat.S_IFBLK `, and:const: ` stat.S_IFIFO `.
2611
+ For :const : `stat. S_IFCHR ` and:const: ` stat.S_IFBLK `, * device * defines the
2612
+ newly created device special file (probably using
2613
2613
:func: `os.makedev `), otherwise it is ignored.
2614
2614
2615
2615
This function can also support:ref: `paths relative to directory descriptors
@@ -2627,13 +2627,13 @@ features:
2627
2627
..function ::major(device, /)
2628
2628
2629
2629
Extract the device major number from a raw device number (usually the
2630
- :attr: `st_dev ` or:attr: `st_rdev ` field from:c:struct: `stat `).
2630
+ :attr: `~stat_result. st_dev ` or:attr: `~stat_result. st_rdev ` field from:c:struct: `stat `).
2631
2631
2632
2632
2633
2633
..function ::minor(device, /)
2634
2634
2635
2635
Extract the device minor number from a raw device number (usually the
2636
- :attr: `st_dev ` or:attr: `st_rdev ` field from:c:struct: `stat `).
2636
+ :attr: `~stat_result. st_dev ` or:attr: `~stat_result. st_rdev ` field from:c:struct: `stat `).
2637
2637
2638
2638
2639
2639
..function ::makedev(major, minor, /)
@@ -3364,8 +3364,8 @@ features:
3364
3364
3365
3365
..versionchanged ::3.8
3366
3366
On Windows, the:attr: `st_mode ` member now identifies special
3367
- files as:const: `S_IFCHR `,:const: `S_IFIFO ` or:const: ` S_IFBLK `
3368
- as appropriate.
3367
+ files as:const: `~stat. S_IFCHR `,:const: `~stat. S_IFIFO ` or
3368
+ :const: ` ~stat.S_IFBLK ` as appropriate.
3369
3369
3370
3370
..versionchanged ::3.12
3371
3371
On Windows,:attr: `st_ctime ` is deprecated. Eventually, it will
@@ -4285,10 +4285,10 @@ to be ignored.
4285
4285
4286
4286
..function ::abort()
4287
4287
4288
- Generate a:const: `SIGABRT ` signal to the current process. On Unix, the default
4288
+ Generate a:const: `~signal. SIGABRT ` signal to the current process. On Unix, the default
4289
4289
behavior is to produce a core dump; on Windows, the process immediately returns
4290
4290
an exit code of ``3 ``. Be aware that calling this function will not call the
4291
- Python signal handler registered for:const: `SIGABRT ` with
4291
+ Python signal handler registered for:const: `~signal. SIGABRT ` with
4292
4292
:func: `signal.signal `.
4293
4293
4294
4294