diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-07-28 10:36:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-28 10:36:19 (GMT) |
commit | c3432523d13dbbabe58bd0a13747b801d52e4f5a (patch) | |
tree | 8fd5ad932dddcdd56c9ec718c20e3f40289dff27 /Doc/library/sys.rst | |
parent | d9392c0c0aeedd4d23027ecf20e14af4c227435a (diff) | |
download | cpython-c3432523d13dbbabe58bd0a13747b801d52e4f5a.zip cpython-c3432523d13dbbabe58bd0a13747b801d52e4f5a.tar.gz cpython-c3432523d13dbbabe58bd0a13747b801d52e4f5a.tar.bz2 |
[3.11] gh-107091: Fix some uses of :const: role (GH-107379) (GH-107385)
It is for references, not for literals.
(cherry picked from commit 0aa58fa7a62cd0ee7ec27fa87122425aeff0467d)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Doc/library/sys.rst')
-rw-r--r-- | Doc/library/sys.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index dca35cc..b038606 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -850,19 +850,19 @@ always available. ``sys.getwindowsversion().major``. For compatibility with prior versions, only the first 5 elements are retrievable by indexing. - *platform* will be :const:`2 (VER_PLATFORM_WIN32_NT)`. + *platform* will be ``2`` (VER_PLATFORM_WIN32_NT). *product_type* may be one of the following values: +---------------------------------------+---------------------------------+ | Constant | Meaning | +=======================================+=================================+ - | :const:`1 (VER_NT_WORKSTATION)` | The system is a workstation. | + | ``1`` (VER_NT_WORKSTATION) | The system is a workstation. | +---------------------------------------+---------------------------------+ - | :const:`2 (VER_NT_DOMAIN_CONTROLLER)` | The system is a domain | + | ``2`` (VER_NT_DOMAIN_CONTROLLER) | The system is a domain | | | controller. | +---------------------------------------+---------------------------------+ - | :const:`3 (VER_NT_SERVER)` | The system is a server, but not | + | ``3`` (VER_NT_SERVER) | The system is a server, but not | | | a domain controller. | +---------------------------------------+---------------------------------+ |