Skip to content

Commit 0506533

Browse files
committed
docs rephrasing
1 parent 128b150 commit 0506533

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

Doc/library/sys.rst

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,28 +29,30 @@ always available. Unless explicitly noted otherwise, all variables are read-only
2929

3030
.. attribute:: abi_info.pointer_bits
3131

32-
The width of pointers in bits, as an integer, equivalent
33-
to ``8 * sizeof(void *)``. Usually, this is ``32`` or ``64``.
32+
The width of pointers in bits, as an integer,
33+
equivalent to ``8 * sizeof(void *)``.
34+
Usually, this is ``32`` or ``64``.
3435

3536
.. attribute:: abi_info.free_threaded
3637

37-
A boolean indicating whether the interpreter was built with
38+
A Boolean indicating whether the interpreter was built with
3839
:term:`free threading` support.
39-
This reflects the presence of the :option:`--disable-gil` configure
40-
option, or the setting of the ``DisableGil`` property on Windows,
41-
respectively.
40+
This reflects either the presence of the :option:`--disable-gil`
41+
:file:`configure` option (on Unix)
42+
or setting the ``DisableGil`` property (on Windows).
4243

4344
.. attribute:: abi_info.debug
4445

45-
A boolean indicating whether the interpreter was built in
46+
A Boolean indicating whether the interpreter was built in
4647
:ref:`debug mode <debug-build>`.
47-
This reflects the presence of the :option:`--with-pydebug` configure
48-
option, or the ``Debug`` configuration on Windows, respectively.
48+
This reflects either the presence of the :option:`--with-pydebug`
49+
:file:`configure` option (on Unix)
50+
or the ``Debug`` configuration (on Windows).
4951

5052
.. attribute:: abi_info.byteorder
5153

52-
A string indicating the native byte order, either ``'big'`` or
53-
``'little'``.
54+
A string indicating the native byte order,
55+
either ``'big'`` or ``'little'``.
5456
This is the same as the :data:`byteorder` attribute.
5557

5658

Doc/whatsnew/3.15.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ ssl
463463
sys
464464
---
465465

466-
* Added :data:`sys.abi_info` object to make ABI information more easily accessible.
466+
* Add :data:`sys.abi_info` namespace to improve access to ABI information.
467467
(Contributed by Klaus Zimmermann in :gh:`137476`.)
468468

469469

0 commit comments

Comments
 (0)