diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2023-10-11 20:43:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-11 20:43:03 (GMT) |
commit | 718391f475f2550d99dd794069ca76312f7f6aa6 (patch) | |
tree | 521c301b97b356b85054a0dd0c73b8c8df8000c2 /Doc/howto/enum.rst | |
parent | bb7923f556537a463c403dc1097726d8a8e1a6f2 (diff) | |
download | cpython-718391f475f2550d99dd794069ca76312f7f6aa6.zip cpython-718391f475f2550d99dd794069ca76312f7f6aa6.tar.gz cpython-718391f475f2550d99dd794069ca76312f7f6aa6.tar.bz2 |
gh-110631: Fix reST indentation (#110724)
* Fix wrong indentation in the other dirs.
* Fix more wrong indentation.
Diffstat (limited to 'Doc/howto/enum.rst')
-rw-r--r-- | Doc/howto/enum.rst | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/Doc/howto/enum.rst b/Doc/howto/enum.rst index 2874975..ebaa1cf 100644 --- a/Doc/howto/enum.rst +++ b/Doc/howto/enum.rst @@ -1156,13 +1156,14 @@ the following are true: There is a new boundary mechanism that controls how out-of-range / invalid bits are handled: ``STRICT``, ``CONFORM``, ``EJECT``, and ``KEEP``: - * STRICT --> raises an exception when presented with invalid values - * CONFORM --> discards any invalid bits - * EJECT --> lose Flag status and become a normal int with the given value - * KEEP --> keep the extra bits - - keeps Flag status and extra bits - - extra bits do not show up in iteration - - extra bits do show up in repr() and str() +* STRICT --> raises an exception when presented with invalid values +* CONFORM --> discards any invalid bits +* EJECT --> lose Flag status and become a normal int with the given value +* KEEP --> keep the extra bits + + - keeps Flag status and extra bits + - extra bits do not show up in iteration + - extra bits do show up in repr() and str() The default for Flag is ``STRICT``, the default for ``IntFlag`` is ``EJECT``, and the default for ``_convert_`` is ``KEEP`` (see ``ssl.Options`` for an |