gh-110631: Fix reST indentation (#110724)

* Fix wrong indentation in the other dirs.

* Fix more wrong indentation.
This commit is contained in:
Ezio Melotti 2023-10-11 22:43:03 +02:00 committed by GitHub
parent bb7923f556
commit 718391f475
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 56 additions and 58 deletions

View file

@ -1156,10 +1156,11 @@ 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
* 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()

View file

@ -13,9 +13,9 @@ DTrace and SystemTap are monitoring tools, each providing a way to inspect
what the processes on a computer system are doing. They both use
domain-specific languages allowing a user to write scripts which:
- filter which processes are to be observed
- gather data from the processes of interest
- generate reports on the data
- filter which processes are to be observed
- gather data from the processes of interest
- generate reports on the data
As of Python 3.6, CPython can be built with embedded "markers", also
known as "probes", that can be observed by a DTrace or SystemTap script,
@ -246,11 +246,9 @@ The output looks like this:
where the columns are:
- time in microseconds since start of script
- name of executable
- PID of process
- time in microseconds since start of script
- name of executable
- PID of process
and the remainder indicates the call/return hierarchy as the script executes.

View file

@ -320,9 +320,7 @@ Module contents
:class:`Field` object directly. Its documented attributes are:
- ``name``: The name of the field.
- ``type``: The type of the field.
- ``default``, ``default_factory``, ``init``, ``repr``, ``hash``,
``compare``, ``metadata``, and ``kw_only`` have the identical
meaning and values as they do in the :func:`field` function.

View file

@ -3797,7 +3797,7 @@ Naturally, they are all only available on Linux.
- :func:`read`
- :func:`~select.select`
- :func:`~select.poll`.
- :func:`~select.poll`
The file descriptor's :func:`read` method can be called with a buffer size
of 8. If the timer has already expired one or more times, :func:`read`

View file

@ -1195,16 +1195,17 @@ Otherwise, your users may experience problems using your application. Note that
the first suggestion is the best, as the others may still be susceptible to
non-standard paths in the registry and user site-packages.
.. versionchanged::
3.6
.. versionchanged:: 3.6
* Adds ``._pth`` file support and removes ``applocal`` option from
Add ``._pth`` file support and removes ``applocal`` option from
``pyvenv.cfg``.
* Adds :file:`python{XX}.zip` as a potential landmark when directly adjacent
.. versionchanged:: 3.6
Add :file:`python{XX}.zip` as a potential landmark when directly adjacent
to the executable.
.. deprecated::
3.6
.. deprecated:: 3.6
Modules specified in the registry under ``Modules`` (not ``PythonPath``)
may be imported by :class:`importlib.machinery.WindowsRegistryFinder`.