Skip to content

Commit bef8478

Browse files
committed
gh-101100: Fix os "MACOSX_DEPLOYMENT_TARGET" reference
Change to similar sample code used in `free-threading-python.rst`
1 parent 7e915a4 commit bef8478

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
@@ -430,8 +430,8 @@ process and user.
430430
associated with the effective user id of the process; the group access
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
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+
``sysconfig.get_config_var('MACOSX_DEPLOYMENT_TARGET')``.
435435

436436

437437
.. function:: getlogin()

0 commit comments

Comments
 (0)