Skip to content

Commit d50dbef

Browse files
cmaloneyvstinner
andauthored
Apply suggestions from code review
Co-authored-by: Victor Stinner <[email protected]>
1 parent bef8478 commit d50dbef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/os.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ process and user.
431431
list may change over the lifetime of the process, it is not affected by
432432
calls to :func:`setgroups`, and its length is not limited to 16. The
433433
deployment target value can be obtained with
434-
``sysconfig.get_config_var('MACOSX_DEPLOYMENT_TARGET')``.
434+
:func:`sysconfig.get_config_var('MACOSX_DEPLOYMENT_TARGET') <sysconfig.get_config_var>`.
435435

436436

437437
.. function:: getlogin()
@@ -2627,7 +2627,7 @@ features:
26272627
.. function:: major(device, /)
26282628

26292629
Extract the device major number from a raw device number (usually the
2630-
:attr:`stat_result.st_dev` or :attr:`stat_result.st_rdev`).
2630+
:attr:`~stat_result.st_dev` or :attr:`~stat_result.st_rdev` field from :c:struct:`stat`).
26312631

26322632

26332633
.. function:: minor(device, /)

0 commit comments

Comments
 (0)